Micro Focus QTP (UFT) Forums
Does QTP supports Iframe..? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Does QTP supports Iframe..? (/Thread-Does-QTP-supports-Iframe)



Does QTP supports Iframe..? - Unleash Rajesh - 07-21-2011

Hi..

Does QTP supports for iframe...i had an iframe in my appication..It doesnot reconize during playplay...Is there any addins i need to add??

Throws an error, "Not found in repository"

The code during recording,

Code:
Browser("x").Page("x").Frame("y").Image("Y").Click

I want to click the send button in the Iframe...
Help me out..


RE: Does QTP supports Iframe..? - software@covenantinfosys.com - 07-30-2011

Have you gotten an answer to your question? I need an answer to this one also.


RE: Does QTP supports Iframe..? - rajpes - 07-30-2011

Record and playback, does it throw error then?


RE: Does QTP supports Iframe..? - Unleash Rajesh - 07-30-2011

Yeah..throws an error in record and playback..Is there any solution to solve this..?




RE: Does QTP supports Iframe..? - rajpes - 07-31-2011

If there is a website which works on these frames, let me know, i will test.I never faced frames in pages


RE: Does QTP supports Iframe..? - Ankur - 07-31-2011

Two ways to handle frames -

1) Since most of them have dynamic object properties. You would need to handle those properties appropriately.
2) Remove the frame object altogether and the statement should still work fine. For ex :

Code:
Browser("x").Page("x").Frame("y").Image("Y").Click
can be changed to
Code:
Browser("x").Page("x").Image("Y").Click

We posted a video on this topic sometime back on our blog https://www.LearnQTP.com/ You may want to check that.