Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP consuming more time while checking for the objects
#1
Not Solved
Hi All,

In my script as the precondition we check for some objects in application, the pseudo code is like this:
Code:
Set objBrowser = Browser("x").Page("y")
With objBrowser
  If .[b]webelement("z").Exist [/b]Then
     msgbox "Pass"
  else
     msgbox "Fail"
   end if
End With

If condition is taking some around 8-10 seconds, which is not expected and unusual. After this condition, the rest of the script executes fast. It happens almost in every script which is affecting the performance of execution. I am not able to find any clue why its taking so much of time just for checking the webelement as the first step in script.

Can anyone please help me out here.

Thanks in adv,
Sravanthi
Reply


Messages In This Thread
QTP consuming more time while checking for the objects - by skadam - 09-15-2011, 12:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Checking text msg dynamically... Shandru 1 2,332 10-06-2010, 12:08 PM
Last Post: Saket
  Time Out in QTP at the time of Execution jakkasureshkumar 1 3,622 12-24-2008, 10:43 PM
Last Post: Ankur
  Database Checking Rajesh 1 2,892 01-16-2008, 11:41 AM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)