09-03-2010, 09:03 PM
Hi !
I have a problem on my scripts about wait time to load pages.
Ok, I use the function Brownser(xxx).Page(xxx).Sync to make the QTP wait the page load completely. But I am testing a webpage in C#, with some frames in AJAX.
There are some process in the webpage, that doesn`t load the page, but the frame loads. What I mean is that the page will not refreshed, but the system will take some seconds to load some information in the AJAX frame.
I was using the WAIT() function to these cases, but it`s terrible because the wait time for the frame is always changing. I am using like Wait(15), it's too much time.
So pleeease.... is there anyone able to help me with this issue? I was thinking maybe there is a function on the QTP like:
Brownser(xxx).Frame(xxx).Sync.... but I guess not, heheheh...
I am not sure if I was clear, sorry... I hope yes!
Thank you very much !!!
I have a problem on my scripts about wait time to load pages.
Ok, I use the function Brownser(xxx).Page(xxx).Sync to make the QTP wait the page load completely. But I am testing a webpage in C#, with some frames in AJAX.
There are some process in the webpage, that doesn`t load the page, but the frame loads. What I mean is that the page will not refreshed, but the system will take some seconds to load some information in the AJAX frame.
I was using the WAIT() function to these cases, but it`s terrible because the wait time for the frame is always changing. I am using like Wait(15), it's too much time.
So pleeease.... is there anyone able to help me with this issue? I was thinking maybe there is a function on the QTP like:
Brownser(xxx).Frame(xxx).Sync.... but I guess not, heheheh...
I am not sure if I was clear, sorry... I hope yes!
Thank you very much !!!