mercredi 22 janvier 2020

Not being able to apply if condition in testcafe

I am writing a code where i have to check that on clicking on some button, an assessment should get opened. On opening assessment it should check if there a radio button kind of question or checkbox. Tick on the answer accordingly and click on the next button. This needs to be done until the last question. Note: On selection and for a ques, the next button becomes active.

The problem is that I am not being able to understand how can I make this dynamic that it should understand how many questions are there in an assessment as it is not fixed that there would be the same no of questions in it?

I am also not being able to use if condition in it. Does testcafe support it?

Aucun commentaire:

Enregistrer un commentaire