mardi 28 janvier 2020

How to insert data into a table in testcafe

I have a page with with a table. I want to make an automation test with testcafe + javascript and insert values into the rows.

Tried with addCustomMethods as in https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors/extending-selectors.html but it doesnot seem to work as it doesnot get the table and returns undefined.

So how do I insert values to multiple rows in a table?

Aucun commentaire:

Enregistrer un commentaire