How to get text of a super long URL in SAP

Dear Experts

I have a request as below

When I operate in SAP, I need to download a PDF invoice from system

Operator need to click Allow then it will jump to a webpage with unique URL(each billing doc come with different URL)

So I have to capture this super long URL and use browser application with it to click download icon

I tried to use get text but it didn’t work
image

May I know if there is any other solution on this?

Thank you for your kind advise in advance :blush:

Hi @yangyq10

Use another Use Browser/Application activity and dnt pass the URL into that and in the properties panel make sure to keep the open and close as never only and that will help you operate on the new URL opened. Keep the rest of activities that need to be done in another URL within the use application/browser activity.

Regards

@vrdabberu

Thank you for your feedback

May I know if below action is correct base on your solution?

Since the request ask to handle different billing number one by one, will it help to open correct URL each time we use this solution?

Hi @yangyq10

Dnt pass the URL in the application path and also can you please share the screenshot of the selectors that will be present in the unified application targeting do that we make them dynamic and that will help you to open the new and correct URL for each transaction.

Regards

@vrdabberu

I did not pass URL in arguments, is it correct this way?

And this is the selector of Use Application activity.
Do we need to change sth here?

image

@yangyq10,

Don’t spend time on automating it. You can disable the popup from SAP GUI Settings and SAP will directly jump on the webpage.

Follow these steps to disable this popup.

Thanks,
Ashok :slight_smile:

@ashokkarale Thanks for the feedback. The request need to download PDF invoices from webpage one by one. That means I need to use for each activity to make it happen. Even though we fix the SAP popup issue, I still need to think about how can we use SAP & Browser to down these invoice one by one :smiley:

@yangyq10,

You can use Use application Browser activity inside your SAP application scope for browser interaction.

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.