09-15-2011, 12:30 PM
Hi All,
In my script as the precondition we check for some objects in application, the pseudo code is like this:
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
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