| Run Tests - Add Results | ||
| open | /run_tests.cgi | |
| clickAndWait | link=Calendar Trunk Catch-All Test Run | |
| type | build_id_new | 2007112718 |
| select | platform_new | label=Mac (Intel) (*) |
| select | opsys_new | label=Mac OS 10.4 (*) |
| select | locale | label=en-US |
| setTimeout | 60000 | |
| clickAndWait | //input[@value='Submit configuration'] | |
| setTimeout | 30000 | |
| click | //input[@id='testgroup' and @name='testgroup' and @value='31'] | |
| click | //input[@id='subgroup_31' and @name='subgroup_31' and @value='501'] | |
| clickAndWait | Submit | |
| click | top_all | |
| click | testresult_2331_pass | |
| click | testresult_2336_fail | |
| chooseCancelOnNextConfirmation | ||
| click | Submit2331 | |
| assertConfirmation | Did you intend to only submit a single test result? (Hint: There is a 'Submit All Results' button at the bottom of the page.) | |
| clickAndWait | Submit | |
| click | link=Run Tests - Your Chosen Test Run ยป | |
| verifyText | //div[@id='test_run_summary']/table/tbody/tr[2]/td[1] | Calendar Trunk Catch-All Test Run |
| verifyTable | //div[@id='test_run_summary']/table/tbody/tr[3]/td/table.3.1 | Build ID: 2007112718, Platform: Mac (Intel), Operating System: Mac OS 10.4 |
| verifyText | //div[@id='content']/div[3]/div/p[1] | You have submitted 2 test results. Thank you for your testing efforts. |
| verifyText | //div/table/tbody/tr[1]/td[1]/strong | exact:Fail: |
| verifyText | //div/table/tbody/tr[1]/td[2] | 1 |
| verifyText | //div/table/tbody/tr[2]/td[1]/strong | exact:Pass: |
| verifyText | //div[3]/div/table/tbody/tr[2]/td[2] | 1 |