m2u-upass-admin / selenium-test / another-test-with-selenium-builder.en.txt @ 123:a28809b30e98
History | View | Annotate | Download (2.32 KB)
1 |
Start Firefox (like a boss) |
---|---|
2 |
(When you follow these steps, make sure page content is loaded before clicking, etc... Since you're a human, this is probably what you do already) |
3 |
|
4 |
- Navigate to http://localhost:9100/m2u-upass-admin/common/Login.do |
5 |
- Type "administrator" in "//div[2]/div[2]/form/table/tbody/tr[2]/td[3]/input", replacing any text that was already there |
6 |
- Type "Mss@dm1n" in "//div[2]/div[2]/form/table/tbody/tr[3]/td[3]/input", replacing any text that was already there |
7 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/form/table/tbody/tr[5]/td[5]/input" |
8 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[1]/div/ul/li/ul/li[4]/a" |
9 |
- Type "test" in "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[2]/td[3]/input", replacing any text that was already there |
10 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div[1]/input[1]" |
11 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/div[2]/form/input[2]" |
12 |
- Select the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[3]/td[3]/select//option[2]" |
13 |
- Select the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[4]/td[3]/select//option[2]" |
14 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div[1]/input[1]" |
15 |
- If "m2u-test-user-1" is not on the page, scream at the coders |
16 |
- If "stock-user-1" is not on the page, scream at the coders |
17 |
- If "im2u-test-user-1" is not on the page, scream at the coders |
18 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/table[2]/tbody/tr[3]/td[1]/a" |
19 |
- If "Customer Enquiry - Details" is not on the page, scream at the coders |
20 |
- If "im2u-test-user-1" is not on the page, scream at the coders |
21 |
- If "Active" is not on the page, scream at the coders |
22 |
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div/input[1]" |
23 |
- If the element(s) on the page found by the css selector "tr.alt:nth-child(3)" is not present, scream at the coders |
24 |
- If the element(s) on the page found by the css selector "tr.alt:nth-child(4)" is present, scream at the coders |
25 |
|
26 |
You're done! Sweet. |