Wednesday, 15 June 2011

QTP clicking on webbutton closed the dialog -



QTP clicking on webbutton closed the dialog -

i'm on page has pop-up. there list in pop-up. should firstly select element in list, link gets activated , click on link. pop-up appears. now, have click on button in new pop-up. button captured qtp store under page object.

the statement simple:

browser(browser).page(page).webbutton("button").click

but problem is, after clicking on webbutton, new pop-up disappears, , value selected in list of main pop-up reset default (none selected). , in debug mode, there no problem...

i tried solutions, "replaytype" still makes pop-up closed, "devicereplay", "abs_x" , "abs_y" returned getroproperty not same values captured using object spy. cannot click on right position.

could enlighten me here how can resolve this?

thanks lot

allen

you have write descriptive programme click on button on particular pop-up. spy button , write script in qtp, dont store object in object repository.

for button, utilize html tag or name identify object

qtp

No comments:

Post a Comment