Statistics
| Branch: | Revision:

m2u-upass-admin / selenium-test / first-test-with-selenium-builder.en.txt @ 122:464d27830931

History | View | Annotate | Download (2.97 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[1]/a"
9
- If "No group(s) found" is not on the page, scream at the coders
10
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div[2]/input"
11
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[2]/td[3]/input"
12
- Type "Second Group Desc" in "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[3]/td[3]/textarea", replacing any text that was already there
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[6]/td[2]/ul/li/input"
14
- Type "Second Group" in "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[2]/td[3]/input", replacing any text that was already there
15
- Type "\9" in "//div[2]/div[2]/div/div[2]/div/form/table/tbody/tr[3]/td[3]/textarea"
16
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div/input[2]"
17
- If "Group Second Group will be created" 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/form/div/input[2]"
19
- If "Group Second Group has been successfully created" is not on the page, scream at the coders
20
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[1]/div/ul/li/ul/li[1]/a"
21
- If "Second Group" 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/table[2]/tbody/tr/td[1]/a"
23
- If "Second Group Desc" is not on the page, scream at the coders
24
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div/input[5]"
25
- If "Group Second Group will be deleted." is not on the page, scream at the coders
26
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[2]/div/form/div/input[2]"
27
- If "Group Second Group has been successfully deleted" is not on the page, scream at the coders
28
- Click the element(s) on the page identified by the xpath query "//div[2]/div[2]/div/div[1]/div/ul/li/ul/li[1]/a"
29
- If "No group(s) found" is not on the page, scream at the coders
30
- Click the element(s) on the page identified by the xpath query "//div[1]/table/tbody/tr/td[3]/a/img"
31

    
32
You're done! Sweet.