Repo in dropdown found but sometimes not clicked
Posted: Mon Aug 05, 2019 12:37 pm
Hi everyone,
I'm testing on a mobile application that does have a default lay-out for all of the dropdowns (this dropdown does open in a new page). Every dropdown has its own items and it's only possible that the listed items have a different lay-out.In my test I want to select items from several dropdowns (arround 12 dropdowns). Ranorex is alway able to find the items and most of the times Ranorex is also able to select the items (9/10). Sometimes Ranorex doesn't select the item although Ranorex thinks it has (1/10). I tried different combinations to see if it does make a difference, but it never reached 100% change of selecting the repo. I used the following combinations to find the repo-item:
Does someone know a better solution to elements that are difficult to Touch?
Detailed description of my system:
Microsoft Windows Server 2016 Standard
Ranorex 9.1.1
Service App 2.0.3
If there is anymore information needed, I would like to hear!
I'm testing on a mobile application that does have a default lay-out for all of the dropdowns (this dropdown does open in a new page). Every dropdown has its own items and it's only possible that the listed items have a different lay-out.In my test I want to select items from several dropdowns (arround 12 dropdowns). Ranorex is alway able to find the items and most of the times Ranorex is also able to select the items (9/10). Sometimes Ranorex doesn't select the item although Ranorex thinks it has (1/10). I tried different combinations to see if it does make a difference, but it never reached 100% change of selecting the repo. I used the following combinations to find the repo-item:
- EnsureVisible + TouchMove
- EnsureVisible + Touch
- EnsureVisible + PerformClick + TouchMove
- EnsureVisible + PerformClick + Touch
- EnsureVisible + WaitFor + PerformClick + TouchMove
- EnsureVisible + WaitFor + PerformClick + TouchMove
I did try to find the element by just picking the first item of the dropdown and I also tried to find the item by using the InnerText. This didn't work so I tried to find the element by making it dynamic. This meant that Ranorex has to find the element based on the InnerText and Class (see the attachments), but also this option didn't work. One of my collegues said that it could work with adding a Move action, but so far I can see there is no Mobile action that can perform the same Move action.
Does someone know a better solution to elements that are difficult to Touch?
Detailed description of my system:
Microsoft Windows Server 2016 Standard
Ranorex 9.1.1
Service App 2.0.3
If there is anymore information needed, I would like to hear!