Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Time Delay issue with Exist
#10
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi Lorena, i also faced this issue yesterday.

when i was trying to analyse why ...this is what i have found...
Do note that it is nothing to do with obj sync timeout property.


Code:
Msgbox Browser("CreationTime:=0").Exist(0)

No of browsers open = 0
Here i was expecting to timeout in 0 seconds to return false ..but it took around 5 seconds.

Code:
Msgbox Browser("CreationTime:=0").Exist(5)

No of browsers open = 0
Here i was expecting to timeout in 5 seconds to return false ..but it took around 10 seconds. (adds approx 5 seconds)

when u have a browser open, it returns true @ once w/o any wait.

Instead of creation, i also tried with other properties, the behavior is same.

Code:
Msgbox Browser("CreationTime:=0").Page("micclass:=Page").WebEdit("name:=userid").Exist(0)

No of browser open = 1 or > 1
no webedit in that name.
it reurns false w/o any wait.

So, Exist gets timeout as expected only atleast one browser is open. if not, it takes additional time...i dont know where 5 seconds comes from...




Reply


Messages In This Thread
Time Delay issue with Exist - by mv8167 - 12-10-2011, 02:50 AM
RE: Time Delay issue with Exist - by sshukla12 - 12-12-2011, 12:59 PM
RE: Time Delay issue with Exist - by mv8167 - 12-14-2011, 02:09 AM
RE: Time Delay issue with Exist - by supputuri - 12-14-2011, 02:37 AM
RE: Time Delay issue with Exist - by mv8167 - 12-14-2011, 02:47 AM
RE: Time Delay issue with Exist - by sshukla12 - 12-14-2011, 11:22 AM
RE: Time Delay issue with Exist - by mv8167 - 12-14-2011, 07:11 PM
RE: Time Delay issue with Exist - by sshukla12 - 12-14-2011, 10:09 PM
RE: Time Delay issue with Exist - by mv8167 - 12-14-2011, 10:57 PM
RE: Time Delay issue with Exist - by vIns - 01-11-2012, 10:30 AM
RE: Time Delay issue with Exist - by mv8167 - 01-13-2012, 08:08 PM
RE: Time Delay issue with Exist - by grosorg - 06-19-2017, 02:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Exist and Visible Are True When Objects Aren't There - Is there A Better Way? zunebuggy 3 2,757 04-24-2018, 02:12 PM
Last Post: Ankur
  Performance Issues Using '.Exist' AndyBSG 2 3,199 12-12-2014, 03:24 PM
Last Post: AndyBSG
  datatable column exist diya 3 12,207 12-11-2012, 11:24 AM
Last Post: elango87
  Check if exist not selected radiobutton sedin 6 7,448 09-12-2012, 12:55 PM
Last Post: sedin
  Trying to do this .exist but it is always TRUE chong67 5 5,681 07-09-2012, 11:41 PM
Last Post: chong67

Forum Jump:


Users browsing this thread: 1 Guest(s)