I have 3 Different urls in List. My Scenario is, i need to open the 3 urls one at a time in open browser and do some operations and log out.
I looped the list item in foreach. Within foreach i used open browser activity.
The problem is from 2nd item, i should open the url in same tab which is logged out by the 1st url. I should not use another tab or browser.
I tried Navigate to at the end of foreach, it is opening the first item
@DeviE, Place the sequence in this order,
- ArrayA = (“URL1”,“URL2”,“URL3”)
- For each activity
- Inside the body of for each item in the array check a condition,
If Array.IndexOf(ArrayA,item) = 0
Then - Use
Else - Use
Summary - Open browser only for the first time do some operations in the first URL and then log out when the loop goes to next item this will navigate in the same tab instead opening in another tab.
It worked. Thanks