Unusually long pauses while QTP runs - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Unusually long pauses while QTP runs (/Thread-Unusually-long-pauses-while-QTP-runs) |
Unusually long pauses while QTP runs - Gemart - 03-17-2008 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? RE: Unusually long pauses while QTP runs - sreekanth - 03-18-2008 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. RE: Unusually long pauses while QTP runs - Gemart - 03-22-2008 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! RE: Unusually long pauses while QTP runs - sreekanth - 03-24-2008 hi, any element on your page qualifies as web element for ex: link , button etc RE: Unusually long pauses while QTP runs - Ankur - 03-24-2008 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. RE: Unusually long pauses while QTP runs - Gemart - 03-26-2008 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! |