Question
Virtusa Corporation US
US
Last activity: 17 Dec 2020 4:36 EST
Robotics - Global Web Adapter, for table tr TR.GetClones() not waiting for all clones to be matched
Hi All,
I am using GWA. SInce we dont have direct table interrogation for chrome, we have used TR woth useKeys enabled.
From log file, i see the control passed through wait for create @ 04:52:38.191 PM
TR clones continue to match till 04:53:02.825 PM
How do i wait for all usekey enabled/clone items to be matched
Thanks,
This is a great question. It can be tricky to wait for all clones to be matched. There's not a perfect solution that I am aware of, however there is a strategy I use that seems to work well.
This is a great question. It can be tricky to wait for all clones to be matched. There's not a perfect solution that I am aware of, however there is a strategy I use that seems to work well.
The idea here is that your pause must allow time for the clones to match. It won't work if you have a situation with a dynamic page where controls are added at random as in that case there technically is no "done" for the clones.
In short; loop until you get the same count of clones consecutively.