-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Selenium Testing Tools - Third Edition - Third Edition
By :
Before we carry on further with Selenium, this is a good time to mention how to create comments in your tests. As all good software developers know, having readable code and having comments can make maintenance in the future much easier. Unlike in software development, it is extremely hard, almost impossible, to write self-documenting code. To combat this, it is good practice to make sure that your tests have comments that future software testers can use.
To add comments to your tests, perform the following steps:


We just had a look at how to create comments. Comments will always appear as purple text in the IDE. This, like in most IDEs, is to help you spot comments quicker when looking through your test cases. Now that we know how to keep our tests maintainable with comments, let's carry on working with Selenium IDE to record/tweak/replay our scripts.
Change the font size
Change margin width
Change background colour