I have a canvas app and my QA team is trying to write UI tests to automate the app user scenarios. My first page is a list page with 2 galleries. This was controlled by a toggle button. But now I need to offer two filters on one of the galleries. So I added a combobox to show 3 options. And if one option is chosen then one list shows up. Otherwise if option 2 or 3 are chosen the first list will appear with a filter of one or another set of data to keep users from hitting the 2000 limit.
When I changed the UI from a toggle to a combobox my UI tester informs me that on the next page the xpaths are now changed and in one case showing up 30 times instead of just once. Is there a way to control this or at least debug this.
The monitor before was only showing 4 actions when I clicked the button to get to the second page and to select the item in question.
However after adding the comboBox I get this in the monitor for the same two clicks. Not sure how to stop lookups and refreshes to happen when I am not even on that page. Any help is appreciated.
However after adding the comboBox I get this in the monitor for the same two clicks. Not sure how to stop lookups and refreshes to happen when I am not even on that page. Any help is appreciated.
I don't have a direct answer for the rest of the questions, but if I'm interpreting this correctly, there's controls loading on another screen (or even the same screen, just hidden) and you don't want them to?
In the settings of the app, try going to Upcoming Features > Experimental > turn on "Enhanced performance for hidden controls"
Sorry if I misunderstood, just wanted to try and jump in.
Thanks but I already have that feature turned on. So instead I will try turning off the "keep recent screens visited in memory" in case they are refreshing data in the background.
Still looking to know any way to control or predict the xpath of the resulting canvas UI.