cancel
Showing results for 
Search instead for 
Did you mean: 

RPA Open URL which is different every time

lucie16
Active Participant
0 Kudos

Hi experts,

I am new in RPA and I am doing my automation in IRPA Cloud Studio.
I work with capturing web pages and clicking on elements there and I am using Chrome.

Now I have an issue: My automation should open a web page and click on element which opens a second web page. The second web page URL has different part (ID) every time you run it. So I wonder how to capture this second page, when I don't have an exact URL. I have just part of it.

I tried to capture the screen and then sets the criteria of URL with operator "starts with". But it doesn't work as I need.

So, is there some way to:

- set, that the URL will be always a little different or
- say, that the automation will work with a newly opened web page or
- get a URL from newly opened web page which then I can use as a variable for capture screen criteria?

Examples of second page URLs:

https://eportal.cssz.cz/fas/formservice/filler.open?DocID=1258845722
https://eportal.cssz.cz/fas/formservice/filler.open?DocID=856475472
https://eportal.cssz.cz/fas/formservice/filler.open?DocID=971431784
https://eportal.cssz.cz/fas/formservice/filler.open?DocID=1324753390
...

Main web page (https://eportal.cssz.cz/web/portal/-/tiskopisy/nempri-2020), :

Second web page:

lucie16
Active Participant
0 Kudos

I am just adding, that the second page opens in a new tab.
I tried to captured it as two application and also as one. Also tried to do action (simple click on element) just on the second page, but it looks like my robot didn't recognized it. Every time it ends with timeout.
Nothing worked... and I think the main problem is the URL address

Btw. Build Version of IRPA: 2105.01

Here are some printscreens from testing:

View Entire Topic
former_member200925
Active Participant
0 Kudos

Hi Lucie,

Try to use MustExist or MustNotExist method in any page element present in the first screen.

follow the link that can help you to do this:

https://blogs.sap.com/2020/02/16/sap-intelligent-rpa-advanced-recognition-capability-mustexist-metho...