Working with Protractor promises can be, sometimes difficult. The same is true in the case we want to work with grids.
After searching for a while a solution for double clicking on a grid row, base on the cell text and the column name, I found one. Here is the code for it.
In this example you can double click or click a row based on the cell text and column name.
headers() is a separate function that identifies all column headers in the grid.
readGridData() is a separate function that takes all records from the grid and maps all cells in records.
row() and rows(), will get the records and the record texts in the grid
Happy testing and... make it green, becomes a dream :).
Labels
selenium
(20)
microsoft tools
(9)
continuous integration
(8)
performance
(7)
protractor
(7)
Applitools
(2)
Postman
(2)
agile
(2)
browser extensions
(2)
conferences
(2)
istqb
(2)
project management
(2)
specflow
(2)
autoit
(1)
browserstack
(1)
cypress
(1)
qa
(1)
sikuli
(1)
static testing
(1)
testing events
(1)
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Introduction Recently I've been asked by a blogger how can I use SpecFlow to write a test in Visual Studio. " I am a beginner i...
-
Introduction In this article we will transcribe the java code into c# for the following links: http://ralucasuditu-softwaretesting.blogsp...
-
How my Desktop looks like :)? This is an useful wall-chart from Rosetta Stone and Cookbook that covers popular technologies as XPath...
No comments:
Post a Comment