Sharepoint download file path window fail

Hi all

I am trying to download an excel file from share point , after clicking download, the window to enter file path for saving the spreadsheet comes up , but the ui element for this windows are failing .fyi I am using check app state to validate the presence of this window .

So I tried without using the checkapp, directly going in and typing the file path . For the typeinto I have given file. And which is a label as anchor. Not sure the anchor fail is the reason but the type into is failing. Also this doesn’t happen all the time , today two times failed and the third time it worked . Could anyone help me to understand this scenario pls

Thank you
Rajeena

@Raj_esh,

As it’s intermittent issue, you can put this logic into Retry Scope activity.
The reason of this issue could be unstable or dynamic selectors.

@Raj_esh

  1. It is advised to use integrations ervices or office365 activities with any other authentication to interact with sharepoint
  2. If you still want to go with ui…then in sharepoint avoid using class or id as those would change very frequent…

Cheers

Thank you both . For now I have given a try catch , with anchor in the try and without anchor if any error . Since I don’t have studio installed on the VM , not able to check anything there . Anyways thank you

Hi , I was trying to use microsoft 365 package , it’s giving me error when taking the 365scope activity

@Raj_esh,

Kindly specify the error it’s throwing. Hope you have configured the Scope correctly.

So when I install the 365 package , my read range workbook throwing error . Then this “exception has been thrown by the target of an invocation “ when using the 365 scope in the code

@raj_esh

Try to give the scope properly and check

Cheers

The 365 package didn’t work , had to go with classic activity and it worked .

1 Like

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