jeudi 27 juin 2019

How can I get a text of one column of the table using testcafe and then i assert its eql to "something"

I have page with "search field" and "search button" and a table with 5 columns. I want to make automation test with testcafe + javascript as following:

1: Type in "search field" - DONE

2: Click "search button" - DONE

3: Get the TEXT of all elements in the second column and assert it that its eql to "something"

I made it with Java + Selenium webDriver. It was done with but i`am not that good with JavaScript and still cant investigate how to do it.

Aucun commentaire:

Enregistrer un commentaire