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
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.
I try to select my variable as you suggested to me but I have the below issue:
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.
@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
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
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.