Hi I need to click few links on a webpage and then close all the pages. One of the links opens a "Windows Media Player". I used the following code to close the window but with no success.
If (Window("regexpwndtitle:=Windows Media.*", "text:=Windows Media.*").Exist (5)) Then msgbox "hello" End If Also tried If (Window("regexpwndtitle:=Windows Media Player", "text:=Windows Media Player").Exist(5)) Then msgbox "hello" End If Please help Thanks -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.