I analyzed the find expression
that you have created and the test scenario from the attached screenshots. I see that you are getting a table row, which contains specific text "Centiro" and you have data driven that text in the find expression. You can remove the other filter, that checks for "Passed" value and the find expression should return a combined string of the values from all cells in the specified row.
To check for the "Status" in the next cell, you need to bind it from the Properties pane -> Bindings
for step 4 and keep the CompareType
. Test Studio will again check the above mentioned string for the text content.
The chained find expression
works best with hierarchical controls such as tree view. That said, it can be utilized in a grid, but the best approach in my experience is to use a coded step
. Please check the sample code that iterates through all cells in a grid
. Once you find a specific cell, you can get the parent row element and verify the value in another cell either by iterating the row, or specifying the exact cell by index. You can also use external or local data to bind to the coded step
Currently, you can only data driven one attribute from the find logic. We have created a public feedback item
to bind multiple attributes at the same time. You can vote for that item to increase the customer value and we will evaluate it for our next releases.
I hope that the above details will help you automate your scenario. Please do not hesitate to contact us, if you need further assistance.