Forum Discussion
osaid_ahmad
9 years agoContributor
Hi,
I also had the same issue some time back. Looks like TC sometimes take time to update the object hierarchy.
You can use Sys.WaitBrowser method before using any browser object.
https://support.smartbear.com/viewarticle/74594/
Ex:
Browser = "firefox"
if Sys.WaitBrowser(Browser, 60000).Exists Then
set Obj= Eval("Sys.Browser(""" & browser & """)
Else
Log.Error "Browser not found"
End If
Hope this helps.
Regards
Osaid
Related Content
Recent Discussions
- 15 hours ago
- 20 hours ago