Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exist() Time
#1
Solved: 10 Years, 9 Months 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: 10 Years, 9 Months ago
I usually use .Exist(0.1) and its better.
Reply
#3
Solved: 10 Years, 9 Months 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,658 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,446 02-07-2017, 12:28 AM
Last Post: sparkwanted
  how to find Excel file exist or not in vbscript code sree.85 3 10,795 08-22-2013, 11:42 AM
Last Post: akhandesh
  Remote server machine does not exist eroshan 5 13,918 05-06-2013, 06:03 PM
Last Post: Saket
  If page does not exist - skip go to another action janriis 4 3,916 10-12-2010, 11:25 AM
Last Post: Imtiaz-QA

Forum Jump:


Users browsing this thread: 1 Guest(s)