Changing the status of a searched element and clicking on it

Dear all,

I want to choose the status “TO freeze” out of drop down menu and enter the actual date into second column “Date/Time”. But the status and date should just be changed for the element 10654432 (1.step) .

After changing status and date I want to click on the element 10654432 (2.step).

How can I do it?
Thanks in advance!

1 Like

Hi!

To change the Status, use Select Item activity.
Then I believe that you can just use Type Into activity in the date.

After it, just use Click activity with a dynamic selector :slight_smile:

4 Likes

Hi @Jan_Brian_Despi thank you for your response.
but the robot needs to find just the drop-down menu of element 10654432. (the other elements may not be changed). Then the robot needs to click just on the element 10654432.

1 Like

Yes right :slight_smile:
I understand.

Have you tried the Select Item activity for selecting the dropdown?

3 Likes

Yes, I know the select item activity, but I want the robot to search for the lane with element 10654432.

2 Likes

Oh okay. Got it :slight_smile:
You will be using dynamic selectors to accomplish that :slight_smile:

3 Likes

So kindly indicate the element to be used in the Select Item activity.
Then kindly show me the selector

3 Likes

Do you mean this?

1 Like

Dear all,

do you have any idea how I can resolve this problem?

Thanks!

1 Like

Yes. Correct.
Then on that window, click Open in UiExplorer

3 Likes

@Jan_Brian_Despi what is the next step? :slight_smile:

Cool :slight_smile:
What you need to do is find an attribute that contains the number.
Or you can use Indicate Anchor (and click the number)

3 Likes

@Jan_Brian_Despi : I indicated anchor but how and where do I need to use this code?

1 Like

I am not sure if that is the complete selector after indicating the anchor.

Kindly start again:

  1. Add Select Item activity
  2. Indicate the dropdown.
  3. Open in UiExplorer
  4. Indicate Anchor.
  5. Use the number as the anchor.

Then let’s check the full selector

3 Likes

But the number is a variable from an Excel list.
I am using “read range” activity for reading numbers. The robot should change one by one the status of all numbers of the Excel.
The variable name is “TO_Numbers”

1 Like

Yes. No problem with that :slight_smile:
So we will make the selector dynamic.
For example"<webctrl aaname='" + TO_Numbers + "'>"

We will be inserting a variable in a selector.
So the first step would be get the full selector

4 Likes

@Jan_Brian_Despi It still does not work :frowning:
In this case the problem is in select item (drop down) there is no number which I can substitute.

This is the all data which I can change. but here I cannot find a relation to the number