Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exist() Time
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
in my test I have a dialog form which may appear or not, so I manage it with an If condition as:
Code:
If Browser().Dialog().WinButton().Exist Then
   Browser().Dialog().WinButton().Click
End If

If dialog form appears the script is quick, but if it doesn't appear there is a lot of time in which script wait for the dialog form appears.
If I use something as "Exist(3)" howewer time expected by script is not only of 3 seconds... there must be a previous check made by QTP which requires more time, but i don't know how I can disable it.
Any suggestion?
Thanks

[I use QTP_8.2, only Descriptive Programming, no objects in OR, Smart Identification is disabled... ]
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
I usually use .Exist(0.1) and its better.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Try looking in File->Settings->Web->Browser Navigation Timeout
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,851 02-08-2019, 02:12 AM
Last Post: Ankur
  [UFT 12.52/VBScript] Test object exist, is visible and enabled before take an action sparkwanted 0 3,640 02-07-2017, 12:28 AM
Last Post: sparkwanted
  how to find Excel file exist or not in vbscript code sree.85 3 11,236 08-22-2013, 11:42 AM
Last Post: akhandesh
  Remote server machine does not exist eroshan 5 14,229 05-06-2013, 06:03 PM
Last Post: Saket
  If page does not exist - skip go to another action janriis 4 4,127 10-12-2010, 11:25 AM
Last Post: Imtiaz-QA

Forum Jump:


Users browsing this thread: 1 Guest(s)