-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Software Testing with Test Studio
By :
Throughout this book, we have seen how data-driven design is highly efficient for adding dynamicity and multiplicity to test automation. Its usage was revealed in two contexts: when binding either a regular test step or a verification step to a data table column. Making use of the power of this feature in other contexts can also be useful.
Chapter 4, Maintaining Test Elements has focused on the default expression used by Test Studio to locate interface elements. It has elaborated on some strategies to add more robustness to these expressions by basing them to the known nonchanging attributes. Out of these strategies, we have seen a built-in Test Studio feature called chained expressions which was demonstrated through an example which attempts to locate a cell inside a data grid. The following screenshot previews this example and describes the solution which involves hardcoding values at the leaf level of the chained expression...
Change the font size
Change margin width
Change background colour