Posts: 5
Threads: 2
Joined: Mar 2008
Reputation:
0
03-17-2008, 10:23 PM
I have recently taken over running some BVT testing and am wondering why if I choose to pause the test, and then skip over (F10) some line of code it takes like 20 seconds for QTP to continue?
Also, it appears that sometimes QTP sits for about 20 seconds on a line of code such as the click event of a url link within a frame, within a page in the browser. Why would it do that? Is it possible something isn't defined well in the object repository?
Posts: 29
Threads: 1
Joined: Mar 2008
Reputation:
0
03-18-2008, 01:15 PM
hey,
i have a question:
are you using recorded repository or descriptive programming?
if you have used a repository then verify the mandatory properties for the objects?
if are you are using a webelements then this can turn out to be a big problem in performance.
suggestion: from the next time try to present more details so that we can can answer you better.
Posts: 5
Threads: 2
Joined: Mar 2008
Reputation:
0
03-22-2008, 11:33 AM
Well, I'm new enough at QTP that I am not sure of the answer of your question. What I do know is the tests were created from recordings of certain web actions, we have added objects to the repository and we have added VBScript programming to check for certain conditions. I'm not certain about how to check for 'mandatory' properties of the objects. I have deleted and re-added them to the repository, in case something had changed, but it did not make a difference. What specifically do you mean by 'using web elements'? Obviously I have a bit of a terminology barrier here since I am a beginner to automation with QTP. If you can ask me the details that I am missing here, I would be happy to let you know anything.
Your help/response is appreciated - thanks!
Posts: 29
Threads: 1
Joined: Mar 2008
Reputation:
0
03-24-2008, 11:02 AM
hi,
any element on your page qualifies as web element for ex: link , button etc
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
03-24-2008, 12:14 PM
QTP sits for about 20 seconds on a line of code such as the click event of a url link within a frame, within a page in the browser. Why would it do that? Is it possible something isn't defined well in the object repository?
One reason can be that your web page takes too long to open... until and unless browser comes to a standstill it will not perform the action on the objects of that particular page.
See if you can decrease the loading time of the web page by getting a faster net connection or discussing with your developers about the problem.
Posts: 5
Threads: 2
Joined: Mar 2008
Reputation:
0
03-26-2008, 04:44 AM
It's not the page loading, when the pause happens the page is fully loaded. I think it's more to do with the properties of an object, I'm not exactly sure.
Thanks!