Please refer to the attached image, When i click on the “I9_EventName” (its a hyperlink), its opening in a new tab, and some time its failed to load the page.
I need a fix for the same, If its failed to load or every time its navigated to new tab it should refresh, so that even if the page didn’t loaded it will reload it.
I tried refresh browser but its refreshing the main browser not the new tab.
We have refresh activity.
When you use open browser use browser variable as output and pass the browser variable in refresh activity so that required tab will refresh.
Suggestion: don’t use the click on link, better to use navigate to activity so that your browser variable will be retained.
Not possible as once it’s re directing to new tab its job is to download the item on the page by printing to pdf and once its done close that tab and back to main window.
do you mind giving an example?? I tried using refresh activity but its refreshing the main widow and i have to to click on the hyperlink as it a clickable item, navigate will not work as the link behind the event is dynamic and i have almost 10K records to process.
i have used the attached browser and made this workflow and my open browser workflow is different.
As I understood your question, you have a link to be clicked. and once it is clicked, a new tab will be open to download some stuff. So if the new tab doesn’t fully load, you need to do a page refresh…
So, in your main tab here, i suppose you have used an attached browser activity with a browser object which is fine and working for you. However, when you click on the link that opens a new tab, to access and control the new tab, you need to have another browser object as you main one will only control the main page.
So what you can do is, once you click on the link to open the new tab, use another attach browser activity and indicate the new tab. This will allow you to control the new tab. Within the new attach browser activity, you can check and refresh the page if required… Once every thing is done, close the tab and use another attach browser with the existing main browser object to continue work…