I am trying to loop through a list of cities for a process, for each process I need to type in the date information into the input boxes shown as below:
And for all loops, the 4 boxes would be entered the exact same information shown as below:
For better reference purpose, I named the 4 boxes as follow:
When I am in loop for City 1 and I used the type into activity, the selector for Box 1 looks like this:
While the process is successfully typing “Jan” to box 1, I know it probably wouldn’t work for City 2, and it didn’t.
So I re-identified box 1 for City 2 and the selector looks like this:
So I went back to City 1 and used the “Attach to live element” function at the top right of the selector, now the selector looks like this:
So the number after “FilteringSelect_” became an *, instead there’s a new idx number.
I THOUGHT THIS WAS THE END OF THE STORY, BUT I WAS TOO NAIVE.
I was able to finish activities for City 1 and when I went to City 2, there was still an error about the process not being able to find box 1 according to the live selectors.
So I reused the attach to live element again in City 2 for box 1, and this is what the selector looks like:
So the id stayed the same, but the idx number changed from 5 to 13 and this is causing the process not being able to locate box 1.
I’ve tried switch the number in the idx with a “?”, but it still didn’t work.
I was wondering has any of you experienced anything like that, and what else can I do to deal with this issue?
Any suggestion/advice/help is appreciated! Thanks guys!