I am new to this forum so please forgive me if something is wrong with my message, just tell me and I’ll improve it =)
So my trouble concern web interaction (chrome browser) : I have to interact with a website (internal to company, can’t link it, sorry) on which I fill a form in order to send a request to database (no problems so far).
The request then creates a pop-up, in which I can extract the result of my request and save it on my computer, and I just can’t have it working…
Through recording, I had a draft of my robot, which used browser activity “attach browser” and various click activities. Problem is, the click activities don’t work : when i run, i get error message “selector was not found” (and I tried some UiExplorer magic to change selector, but it didn’t help)
So, I changed the click activities for “click image” activities, which work better (for some of them at least)… Indeed, for reasons unknown, those activities tend to click on the first browser page, not the pop-up (though I see no similarities between the two pages, I don’t know how UiPath finds its images so I can’t point exactly what is wrong here).
To work this around, i tried to use the “close tab” activity to close the first window, leaving me only the pop-up (this latter doesn’t need the page to work, I still can extract data eventhough the pop-up is alone). But this ruins the whole process : not a single click activity works after I close the page, I get the error message “activity made the UiElement invalid”, eventhough the images to click where selected when only the pop-up was there (all other pages closed).
I thought maybe the robot was too quick, and managed to select elements on the page before the “close activity” ended, so I added a “Wait image vanish” activity to be sure, but this does not help either…
I know this is a long topic, but I’ve been struggling for days to no avail so far, so please if any of you have any ideas/remarks tell me !