03-10-2017, 06:35 PM
I could work out using Fire event alone. My requirement is to mouse hover on x - then on y - and inside y - mouse over on one of the list items z - and click on it. The problem with UFT is - we can spy and identify properties for x and y levels - but we cannot spy on the list inside y to get z.
So, just try a wild guess for z - based on what u see for x and y - as all three belong to class - "Link" . for x and y - UFT identified name property and value is what u see in UI. Try this for z too - it might work... Worked for me . . .
x -> y -> z
Set wd = browser("micclass:=Browser").Page("micclass:=page")
wd.link("name:=x").FireEvent "onmouseover"
wd.link("name:=y").FireEvent "onmouseover"
wd.link("name:=z").FireEvent "onmouseover"
wd.link("name:=z").Click
So, just try a wild guess for z - based on what u see for x and y - as all three belong to class - "Link" . for x and y - UFT identified name property and value is what u see in UI. Try this for z too - it might work... Worked for me . . .
x -> y -> z
Set wd = browser("micclass:=Browser").Page("micclass:=page")
wd.link("name:=x").FireEvent "onmouseover"
wd.link("name:=y").FireEvent "onmouseover"
wd.link("name:=z").FireEvent "onmouseover"
wd.link("name:=z").Click