I am trying to obtain file permissions for Google Drive files by using the Get Text activity to extract the part in red (see below). However, when testing this on different files, I get an error saying: Cannot find the UI element corresponding to this selector. I have checked the selector but it doesn’t change for different files.
Thanks for your reply - Yes the element is present for the files I am testing. Is there a way to make it dynamic because in some cases the element will be present but it might state something else, for example, UNRESTRICTED instead of RESTRICTED.
Thanks @Nithinkrishna, it doesn’t return an error now, however, it doesn’t give me an output when it should say ‘Restricted’ in my Write Text File activity output.
Please see below. I would also like to make the title dynamic because I’d like to use this for different files but changing it to *** - Google Drive** invalidates the selector.
Thanks @Nithinkrishna - I have made the changes below but it now invalidates the selector and I still do not get an output (it should say Restricted) in my Write Text File activity.
I want to extract the permissions for each google drive file that I have. So the idea is to input the URL to the file in UiPath and for UiPath to output the access restrictions for the file.
To get this information, you need to click the three vertical dots in your file
Then click on Share and a pop up box will appear as below. From here, I would like to capture whatever is mentioned in the red box below, for example, this could be Restricted or Unrestricted.