Working on a new tab opened from a dashboard

Hi all, beginner user here so apologies if this is an obvious question, and for any lack of information in my initial post.

So I am trying to build an RPA automation that uses my company’s proprietary application. I first login, using Chrome, to my org okta webpage which gives me a dashboard of applications. The only way to open this application is from the okta dashboard itself. Till here I have no issues automating. Now, when I click on the specific application, it opens the app in a new browser tab but any further activities I add to the automation tries to work on the dashboard page itself. During the debugging stream, I can see the required application tab is open next to the dashboard tab but I am not able to switch to the app tab itself.

I have tried using a few approaches(including using Ctrl+tab, using 2 Use Application/browser activities with different window attach modes, using a variable to open the second Use application/browser) but they are not working and whatever I do, my automation always returns and tries to work on the dashboard page. I can elaborate on the approaches I have used till now but I would prefer if anyone can suggest what is the best method to work on a tab opened from a dashboard. Thank you in advance!

1 Like

@Jkj

welcome to the community

you can open it in the same tab as well

instead od clicking on tile use get attribute activity indicate the tile and get the href property and save to a variable

then use go to url or navigate browser activity and pass the variable as input in the url field..this will open the application in same tab

cheers

Hi Anil,

Thanks for the quick reply :slight_smile:

so this works for me but now how do I continue adding further activities to my RPA workflow project? since I am using studio web, when I want to add activities like click, type into etc it just shows me the previous dashboard page when I want to indicate target for the click activity. Once again, apologies for my lack of knowledge here :cry:

1 Like

@Jkj

after that activity you can use a separate use app broswer and indicate it and use further activities

cheers

Hi @Jkj ,

The issue is that the new tab opened from Okta belongs to the same browser instance, so UiPath keeps attaching to the dashboard tab. The correct solution is to stay within a single Use Application/Browser for Chrome and then explicitly attach to the new tab by waiting for a unique element or URL that exists only on the application page. Once that element appears, continue automation in that attached context instead of trying to switch tabs with keyboard actions.

Hi @Maheep_Tiwari and @Anil_G,

Thank you for the tips and the advice, I have got it working perfectly now!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.