ERROR IN SELECTOR ACME

Hi All,

I try to select month in acme —> reports download monthly report

I try with for each as screen below and in first click activity in “edit selector” I try to insert in “aaname” my variable “month” calculated through for each but the popup shows me the error

image

Any suggestion? Could you support?

Thanks in advanced

Regards,
Salvatore

Hi @salvatore.quimi ,

You have to use dynamic selector concept. Based on the screenshot i could see that you have hardcoded the variable name inside the single quotes that is wrong.
Instead of that mouse right click in the aaname value like below screenshot and select your variable over there to resolve the issue. thanks.

at the end it will look like this below.

2 Likes

@salvatore.quimi

As @kirankumar.mahanthi1 suggested try that and let us know if you still facing issue

Thanks

Hi @kirankumar.mahanthi1

I try to select my variable as you suggested to me but I have the below issue:

image

I know I have to use the dynamic selector concept. In my previous screenshot the name of the variable inside the single quotes was a variable that I created as you suggested.

Any suggestion? Thank you in advanced

Regards,
S.

@salvatore.quimi

That shows Validate error, but still debug the workflow, If the variable value is same as the value of the Month, then it will work

As the variable gets it’s value when you run the workflow, that way dynamic selector works

Hope this may help you

Thanks

@Srini84
yes but in my cycle for each I have to select every month. so if I enter month = “January”, then the next one will not be selected.

How can I select every month?

if we review my first screen, the cycle for each calculates me as variable month = first month, but if I want to insert var month in the selector is not recognized

Thanks in advanced

@salvatore.quimi

Can you put another click? because it has to click and click on January month

Hope this may help you

Thanks

1 Like

HI @salvatore.quimi

Instead of using click activity have you tried with Select item activity.

And also check keeping message box inside the loop and see all the months are printing in the message box

if yes you can pass that variable directly to select item and check

I can see only one click on your flow
if you want to use click for selecting the dropdown
there must be two clicks one is for opening and another one for clicking the month
The first click should not contain aaname or text or innertext
In the Second click use the click with dynamic variable

And also I think you can use one click to open the dropdown and type into for searching

Hope this helps

Regards
Sudharsan

Hi @salvatore.quimi,

Please follow the below steps,

  1. Store the month value into a variable (varMonthValue)

  2. First Use click activity to click the dropdown box.
    image

  3. Use another Click Activity and Select the “January” item, and then Open the UiExplorer of the click Activity.
    image

  4. Now under the aaname instead of January, pass the variable into that aaname tag.
    image

image

Insert these values inside for each, it’s just the process steps and implement in the appropriate place.

Hope your issue gets solved.

Regards,
@90s_Developer

Hi @salvatore.quimi ,

try with select item activity.

Thanks

@Shikhar_Tandon,

Actually, even I tried to select the dropdown through select item, but that does not support select item it seems as the values fetched from a database I think so.
image

Regards,
@90s_Developer

yes, it seems it is fetched from backend.

thanks

Hi @90s_Developer

I try to your steps. First Use click activity to click the dropdown box and then I used select item to select month items.

But when I run in debug, I have this issue: selected Item attribute not supported by the current UiNode

Any suggestion?

Thank you!!!

I share my workflow
example.zip (7.1 KB)

Hi @salvatore.quimi,

Don’t use select item, for both the option you need to use Click Activity as I mentioned earlier.

Try these steps once again and DONT USE Select Item, it wont support.

I have given the workflow which performs that two activities, just implement that into workflow alone.

SalvatoreWebAutomationACME.zip (3.0 KB)

Also, the same logic I have implemented in your workflow which you have shared and even that I have shared back.

example.zip (7.2 KB)

Also, you have used Attach Browser, so if you use this activity, the inside activities will work as partial selector which might sometime cause issue.

Hope you’re issue gets solved with these changes.

Regards,
@90s_Developer

Thanks It works. very nice!!!

@salvatore.quimi,

Happy Automation✌️

Regards,
@90s_Developer

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