Unified Functional Testing Practitioners Forum
cancel

Image.Click Done but new page not dispalyed

SOLVED
Go to solution
t_n_2
Acclaimed Contributor

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

6 REPLIES
snehashisdasgho
Super Collector

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
snehashisdasgho
Super Collector

Re: Image.Click Done but new page not dispalyed

Please send me the screnshort in detail

--Snehashis Das Ghosh
hp certified professional
Jeffery_QA
Regular Collector

Re: Image.Click Done but new page not dispalyed

Please  try " fireevent" on image operation

vzamoraz
HPE Expert
Solution

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

t_n_2
Acclaimed Contributor

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.

Highlighted
vzamoraz
HPE Expert

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.

//Add this to "OnDomLoad" event