Forum Discussion
- ebarberaStaff
Hi dikshika114 -
To refresh the browser there are a few methods of the browser that can be used - https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/general/browsers/refresh.html
For example the refresh method can be used to refresh the browser, the navigate method could also be used.
Are you aware of how to use the event handlers? If not I can explain how to do that as well.
Thanks,
Emma- dikshika114Contributor
Hi ebarbera
1. Refresh Method is not working.
2. The issue is while execution on CBT, so, i don't think, navigate method would be a good idea.
3. I know how to use Events. But please tell me, Which exact event i can use which works anytime when this kind of page shows. So, please provide me the script or event name that i can use.
4. Also provide the script to see, if "Site can't be reached" is displayed.
Thanks
- ebarberaStaff
Hi dikshika114 -
Another clarifying question - do you only see this "site cannot be reached" error when running your test in CBT? If so it could be an issue concerning the site not being publicly available and you may need to make use of the tunnel.
https://support.smartbear.com/crossbrowsertesting/docs/local-testing/index.html
Emma
Related Content
- 5 years ago