background image
<< Exploring Results | Viewing an Error in a Testcase >>

Introducing an Error in a Testcase

<< Exploring Results | Viewing an Error in a Testcase >>
124
Getting Started: A Tutorial
7 R
EVIEWING
AND
R
EPORTING
T
EST
R
ESULTS
Introducing an Error in a Testcase
(client/server): On the Files tab, expand the Script folder and double
click gmoc.t.
3
If necessary, expand the testcase
In the testplan editor, click the plus icon [+] to expand the testcase
Verify_Window_Caption.
4
If necessary, expand the section
(Web): Expand the section named GMO.VerifyProperties.
(client/server): Expand the section named
CustomerInformation.VerifyProperties.
5
Modify the identifier
(Web): Find the line that begins {"$Caption", and change the text from
Welcome to Green Mountain Outpost to Welcome to GMO. This
change causes the testcase to fail when you run it because the verification
statement attempts to verify that the caption for the window is "Welcome
to GMO" when it actually is "Welcome to Green Mountain Outpost".
(client/server): In the Verify_Window_Caption testcase find the line that
begins {"Caption", and change the text from Customer Information to
Customer Service. This change will cause the testcase to fail when you
run it because the verification statement attempts to verify that the
caption for the window is "Customer Service" when in fact it is
"Customer Information".
6
Save the changes to the script
Click File/Save.
You are now going to run the modified testcase from the testplan.