I got an automation to log into a page then do some actions.
The first page is myurl/login.asp then it become myurl/page.asp.
Everything is working correctly in the login section but when I have to select where to click on the page.asp the selector works in the login page… So I can’t do nothing in the secong page.
You want to click on any element in Login page then it will redirect to another page means second page, then you need to click element on second page. The bot unable to click on the second page. If it is your query then follow the below process.
→ Use the Use application\browser activity and indicate the login page.
Change the properties like below :
Open → Always
Close → Never
Window Attach mode → Single window
→ Inside use application\browser activity insert the click activity which is clicking on element then it was redirecting to second page.
→ After click activity insert the another Use application\browser activity and indicate the second browser.
Change the properties for second Use application\browser activity as below :
Open → IfNotOpen
Close → Always
Window Attach mode → Application Instance.
→ Inside of this use application\browser insert the activities which you want to perform in the second page.
Thank you.
I’m new and am trying to understand your suggestions.
However, I’m struggling to grasp them. I will attach a screenshot, which might make it easier to explain.
When I log in on the first page, the application correctly appears on the second one. But if I add a click action, it redirects back to the login page. Also, if I add an activity as shown in screen 3, it still takes the login page as the selector’s page.