How to handle a list of dynamic webelements on mobile app automation (SeeTest/JavaScript/BDD)

35 views Asked by At

First time here.

I have automated a dynamic page with a list of questions that change each time you land on that page. Sometimes it might be a checkbox and sometimes a date field or a radio button. For desktop, I am handling it by getting the objectlist and answering each question based on whether it a radio button, checkbox, date field.

My issue is that sometimes the question has a subquestion. My desktop code is fine. But on the mobile app, we have to swipe to each question one by one.

In my desktop code, the first loop, the first question gets answered. In the second iteration, the subquestions will get answered.

This takes too long for mobile app.

Is there a better of handling this on the app? I am using SeeTest, JavaScript, BDD, Cucumber/Gherkin.

0

There are 0 answers