Thanks, using a different index worked.
On Thursday, September 1, 2016 at 7:23:56 AM UTC-4, Venkat Vanga wrote:
> 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
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
Use Description. create method.
Set obj = Description.Create()
Obj("micclass").Value= "WebElement"
Obj("html tag").Value= "EMBED"
Obj("outerhtml").Value= ".*embed name."
//give more properties ...
Set Obj1=Browser("AAA").Page("ABC").chidobject(Obj)
scount=Obj1.count // if the value is zero then
if (Browser("AAA").Page("ABC").WebElement("html tag:=EMBED",
"outerhtml:=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