Re: Image.Click Done but new page not dispalyed (267 Views)
Reply
Occasional Visitor
t_n_2
Posts: 2
Registered: ‎09-17-2013
Message 1 of 7 (339 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

Please use plain text.
Advisor
snehashisdasgho
Posts: 16
Registered: ‎09-03-2013
Message 2 of 7 (316 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
Please use plain text.
Advisor
snehashisdasgho
Posts: 16
Registered: ‎09-03-2013
Message 3 of 7 (314 Views)

Re: Image.Click Done but new page not dispalyed

Please send me the screnshort in detail

--Snehashis Das Ghosh
hp certified professional
Please use plain text.
Frequent Advisor
Jeffery_QA
Posts: 54
Registered: ‎09-16-2013
Message 4 of 7 (310 Views)

Re: Image.Click Done but new page not dispalyed

[ Edited ]

Please  try " fireevent" on image operation

Please use plain text.
HP Expert
vzamoraz
Posts: 500
Registered: ‎04-12-2012
Message 5 of 7 (301 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

Please use plain text.
Occasional Visitor
t_n_2
Posts: 2
Registered: ‎09-17-2013
Message 6 of 7 (279 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.

Please use plain text.
HP Expert
vzamoraz
Posts: 500
Registered: ‎04-12-2012
Message 7 of 7 (267 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.

Please use plain text.
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