UiAutomation- Not able to figure out, what activity should i use

Hello:

I am not able to figure out what kind of UiAutomation activity i should use for the scenario, i have. Please see attached screenshot, so when i hover around “Browse file” i will see an option of " From Computer" or “From Shared Files”.

I tried using “Hover” action, or “Click action” and none of them work.

Have you tried using click inside attach window (indicate that box)

@prasath_S , i did not try click inside attach window, however i used click activity and then used F2 key to delay the click action. That kind of helped. But i am running into another issue and not able to figure it out. So here is the process scenario

→ Browse files → From computer → As soon as this is clicked) it prompts with “Open” window.

Attached a document to this thread, i am not able to figure what activities can be used for these sequence of three clicks.

ForumUiPath.docx (97.7 KB)

@rrevuru,

It may not sound well…

take same screenshot in paint app… take selector of From Computer from there(i did once) using click image activity…

try this please… let us know.

Cheers,
Pankaj

@Pankaj.Patil

I can certainly try that, but my confusion is, right after that “click activity”, there is another file selection window.

Can a single Click activity can be used to automate the following three steps?

  • Clicking “From my computer”
  • Click a “File”
  • Click “Open”

@rrevuru,

There are three steps you mentioned above…
you have to use three activities too… we cant conclude those steps in single activity…

You can do a recording as well… that will also generate those many activities.

Cheers,
Pankaj

@Pankaj.Patil , Thanks, i started web recording, process includes choosing a file from open dialog prompt. Uipath throws the error with cannot find "Attach window open dialog.

Any other suggestions?


21.2.0-beta.44+Branch.release-v21.2.0.Sha.8ede47e8688d4fa0ba0ff6103ca2fe3ca36a426f

Source: Attach Window ‘Open Dialog’

Message: Could not find the UI element corresponding to this selector:
[1]

Search failed at selector tag:
[1]

The closest matches found are:
[38%]
[37%]

Exception Type: UiPath.Core.SelectorNotFoundException

RemoteException wrapping UiPath.Core.SelectorNotFoundException: Could not find the UI element corresponding to this selector:
[1]

Search failed at selector tag:
[1]

The closest matches found are:
[38%]
[37%]
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.ObsoleteAsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@rrevuru,

can you try with taking single activity?

Cheers,
Pankaj