Assignment 2 : Dispatcher process - Selectors for click and On element are not working

#1

Hi All,

Let me assure you I have gone through the topics of selectors which are available. I am still not able to resolve the selector issue for click and n element activity.

Here are the detailed errors

  1. “message”: "Click : Cannot find the UI element corresponding to this selector: "

2.“message”: "System exception. Max number of retries reached. Cannot find the UI element corresponding to this selector: at Source: Click ",

3.“message”: “On Element Appear ‘A https://acme-test.ui…’: The selector is not valid”,

  1. “message”: “System exception. Retry: 0. The selector is not valid at Source: On Element Appear ‘A https://acme-test.ui…’”,

Please find the screenshot

.

Please help

#2

Hello @Sachin_Hatikankan
you can attached browser of workitem .
like https://acme-test.uipath.com/work-items

1 Like
#3

image

see the image

1 Like
#4

Hi @Sachin_Hatikankan

This is what it should look like in the process.xaml

First the click activity to load that page, and then On element appear activity to check whether the page is loaded and perform the scraping

For the click activity, this should be the selector
"<html title='ACME System 1 - Work Items' /><webctrl aaname='" + in_TransactionItem + "' tag='LI' />"
in_transactionItem is a string type. and it holds the page number to click

For On element appear, this is the selector
"<html title='ACME System 1 - Work Items' /><webctrl aaname='" + in_TransactionItem + "' tag='SPAN' class='page-numbers current' />"

This should work for you!!

If this works, please make sure to mark the answer as the solution too :slight_smile:

Let know how it goes…

3 Likes
#5

Hi Sandeep !
This selector should be for which activity Click or On element activity.

I have pasted the selectors for click and on element activity respectively. Please confirm if the selectors are correct.

On%20element

Thanks for your response!

1 Like
#6

Thank you! :slight_smile:

1 Like
#7

Last selector is correct

closed #8

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