Manage Testcases - Add
open /index.cgi
clickAndWait link=Manage Testcases
verifyTextNotPresent Coop's New Testcase
verifyTextNotPresent Coop's Edited Testcase
verifyTextNotPresent Coop's Cloned Testcase
click add_testcase_button
type summary Coop's New Testcase
type steps <ol>
<li>Step 1</li>
<li>Step 2</li>
</ol>
type results Everything should work.
verifyTable tblNewSubgroups.1.0 Please select a product and branch first.
select product label=Thunderbird (3)
select branch label=2.0 Branch*
click enabled
click communityenabled
type regression_bug_id 666
verifySelectedLabel author_id ccooper@deadsquid.com
verifyElementPresent testgroup_new_1
verifyElementPresent subgroup_new_1
select testgroup_new_1 label=2.0 Smoketests (28)
select subgroup_new_1 label=Install and Startup (410)
click add_row_new_1
select testgroup_new_2 label=2.0 Basic Functional Tests (BFTs) (30)
select subgroup_new_2 label=Install, shutdown, uninstall (457)
click add_row_new_2
select testgroup_new_3 label=2.0 Full Functional Tests (FFTs) (29)
select subgroup_new_3 label=Install, shutdown, uninstall (417)
clickAndWait submit
selectWindow null
waitForVisible testcase_display_div
verifyText summary_text Coop's New Testcase
verifyText product_text Thunderbird
verifyText branch_text 2.0 Branch
verifyElementPresent link=666
verifyTable //div[@id='testcase_display_div']/div[2]/div/table[2].0.0 Steps to Perform:

Step 1
Step 2
verifyTable //div[@id='testcase_display_div']/div[2]/div/table[2].0.1 Expected Results:
Everything should work.
verifyElementPresent link=2.0 Basic Functional Tests (BFTs) (30)
verifyElementPresent link=2.0 Full Functional Tests (FFTs) (29)
verifyElementPresent link=2.0 Smoketests (28)
verifyElementPresent link=Install and Startup (410)
verifyElementPresent link=Install, shutdown, uninstall (457)
verifyElementPresent link=Install, shutdown, uninstall (417)
click edit_testcase_button
verifySelectedLabel author_id ccooper@deadsquid.com
verifyText testcase_id_display_edit regexp:\d+