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.
No of browsers open = 0
Here i was expecting to timeout in 0 seconds to return false ..but it took around 5 seconds.
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.
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...
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...