Monthly Archives: September 2016

Finding the next empty text field

Problem As I continued to investigate making Watir-Classic tests compatible with Watir-Webdriver, I noticed one test that failed to input the next empty row of a text field grid. The grid could start empty or it could start with rows … Continue reading

Posted in Watir, Watir Migration, Watir-Webdriver | Tagged , , | Leave a comment

Replace Table#row_count and Table#column_count with an ElementCollection#count

Given a table: You might want to check the number of rows and/or columns. Obsolete Method In Watir-Classic you may have retrieved these values using the row_count and column_count methods. However, these methods will give an error in Watir-Webdriver: Preferred … Continue reading

Posted in Watir, Watir Migration, Watir-Classic | Leave a comment