Re: Image.Click Done but new page not dispalyed (528 Views)
Reply
Occasional Visitor
t_n_2
Posts: 2
Registered: ‎09-17-2013
Message 1 of 7 (566 Views)
Accepted Solution

Image.Click Done but new page not dispalyed

Help please. Using UFT 11.52, Win 7, IE 10. On the Mercury tours GUI tutorial none of the image click methods actually load the next page. They are executed according to the Results Viewer. All else is good when I manually click the tests execute properly

 

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("userName").Set "tutorial"

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").WebEdit("password").SetSecure "523250bfc19c1bd1b4c6915acc4490c0a14aaf5a08ae"

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("login").Click

Advisor
snehashisdasgho
Posts: 16
Registered: ‎09-03-2013
Message 2 of 7 (543 Views)

Re: Image.Click Done but new page not dispalyed

Please check is it image or button

 

have you spying the object ?

--Snehashis Das Ghosh
hp certified professional
Advisor
snehashisdasgho
Posts: 16
Registered: ‎09-03-2013
Message 3 of 7 (541 Views)

Re: Image.Click Done but new page not dispalyed

Please send me the screnshort in detail

--Snehashis Das Ghosh
hp certified professional
Frequent Advisor
Jeffery_QA
Posts: 54
Registered: ‎09-16-2013
Message 4 of 7 (537 Views)

Re: Image.Click Done but new page not dispalyed

[ Edited ]

Please  try " fireevent" on image operation

HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 5 of 7 (528 Views)

Re: Image.Click Done but new page not dispalyed

It should be  .button.click

 

for that image try:

Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("login").object.Click

Occasional Visitor
t_n_2
Posts: 2
Registered: ‎09-17-2013
Message 6 of 7 (506 Views)

Re: Image.Click Done but new page not dispalyed

Many Thanks. That '.object' works. I did use Spy but I never got an object just image. Also the Run Results Viewer showed it as successfully clicked. I am grateful for the solution.

HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 7 of 7 (494 Views)

Re: Image.Click Done but new page not dispalyed

I am glad it helps.

 

Also remember if you have a valid contract with HP feel free to visit our FT/QTP Support Customer Forums: http://h30499.www3.hp.com/t5/Functional-Testing-QTP/ct-p/sws-Fun_Test
You can create an account with your HP credentials.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.