I’m stuck in a scenario wherein, New Session property of the Open browser activity is not working.
The requirement is as follows
Open the browser and log in to an account.
Enter second level Password
Navigate to a specific page and do some process.
Repeat the above 3 steps for multiple accounts and they need to be different sessions.
I’m using UiPath Studio 2019.10.0- beta.484 Community Edition and have checked New session in Open browser activity.
However, what is happening is for first account everything goes well, but for the second account, it opens browser and logs in to account but goes directly to the Specific page as mentioned in step 3 above and fails to find the password window and process fails.
I feel this is happening since the new window opened for the second account is not in the New Session.
Has anyone faced this/similar issue?
Thank you in advance.
Hi
Welcome back to UiPath community
is the process is included with LOG OUT from the current page so that the next the browser opens it wont go to the previous opened page instead will go to a new login page
kindly ensure once that log out step is included
Cheers @ani2692
Fine
kindly ensure that these steps were used in uipath
–while activity
with condition like this counter < 3
where counter is a int32 variable with default value as 0 defined in the variable panel
–then use a OPEN BROWSER activity and mention the URL
–inside the open browser container use type into activity to enter the login credentials and entered inside the page we want
–now use a send hot key activity with key as ctrl+t which will open the specific page we want to navigate
–then use TYPE INTO activity and mention the URL to be typed in the url search bar
—then land on that page and do the process wee need
–then ensure that log out is made at appropriate step with click activity
–then use CLOSE TAB activity
–then use KILL PROCESS activity and mention the processname property as “iexplore” if IE browser is used or mention as “chrome” if chrome browser is used
(all inside the while loop)
–then atlast inside the while loop use a assign activity like this counter = counter + 1
here we can use while loop or a FOR EACH loop if we have the details in a array or collections format which can be passed as input to the for each activity
hope thiis would helpyou resolve this
Cheers @ani2692
Thank you for the detailed explanation.
We are using For Each loop and IE browser, it was working fine prior to recent UiPath Version update.
After installing the latest version it is not opening the browser in New Session.(New Session property is checked)