There might be a chance of having more than one web element with same html tag and outer html value. Try with different indexes like 0, 2, 3 If you find more than one web element, try to click each one of them to find the required web element.
On Thursday, August 25, 2016 at 2:54:10 AM UTC+5:30, sarah...@gmail.com wrote: > > if (Browser("AAA").Page("ABC").WebElement("html tag:=EMBED", > "outerhtml:=<embed > name.*", "index:=1").Exit(10)) Then > > Browser("AAA").Page("ABC").WebElement("html tag:=EMBED", > "outerhtml:=<embed > name.*", "index:=1").Click > > End if > > > Please Help! > -- -- 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.