Micro Focus QTP (UFT) Forums

Full Version: Does QTP supports Iframe..?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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..
Have you gotten an answer to your question? I need an answer to this one also.
Record and playback, does it throw error then?
Yeah..throws an error in record and playback..Is there any solution to solve this..?

If there is a website which works on these frames, let me know, i will test.I never faced frames in pages
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.