Exist property waits for long time
Question ID: 106010
0
0

I am using QTP to automate an Stand alone application which indeed is a client server and build on .net

When I use .Exist(0) Property to check the existence of an object, it waits for 40 seconds instead of taking the time out "0" provided as parameter. (Default sync timeout is 20 seconds)

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on April 22, 2015 9:32 pm
83 views
Answers (1)
0
Private answer

HP document KM177314 shows how to increase or decrease the object synchronization time. Try this..

' Retrieve the current value
orig = Setting(''DefaultTimeout'')

' Set the default timeout to four seconds.
Setting(''DefaultTimeout'') = 1000
Check Exist(2)
Setting(''DefaultTimeout'') = orig

Title: How to increase or decrease the object synchronization time
Document ID: KM177314

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on April 22, 2015 9:32 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top