Micro Focus QTP (UFT) Forums
QTP cannot identify Image in webtable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP cannot identify Image in webtable (/Thread-QTP-cannot-identify-Image-in-webtable)



QTP cannot identify Image in webtable - Praj - 12-02-2008

Hi,

I have recorded my web application.There is one image "continue to gift messaging" in webtable. After recording my code looks like this:

Code:
Browser("Checkout").Page("Checkout").Image("Continue to Gift Messaging").Click

But while running it can not identify object "Continue to Gift Messaging".
While object spying it recognises Browser & Page perfectly but not that image. Also after spying it shows me hierarchy like browser->page-> webtable->link-> image. I am wondering why its not recording all other objects like webtable, link as its not reflecting in my code. I have added properties to image like alt, Image type, html tag. Even I tried to add objects link, webtable but still no use.

One more strange thing is if I go to previous page of application and come again on same page then after object spying it recognises that image object Smile Plz let me know if I have to do any settings.
Plz help me!!

Thank you,
Praj


RE: QTP cannot identify Image in webtable - Praj - 12-03-2008

Should I go for Virtual object creation? Will that be helpful in this case?
-Praj


RE: QTP cannot identify Image in webtable - Praj - 12-04-2008

Hi Ankur,

I read similar posts on this forum. As you have mentioned in one thread I have added Visible property to image as well as to browser.
But still QTP can not identify that object. Can you plz guide me?
Thanks in advance!

Praj