| ViewOrganizationUserTest | ||
| open | /web/guest/home/ | |
| waitForVisible | link=Directory Test Page | |
| clickAtAndWait | link=Directory Test Page | |
| clickAtAndWait | link=Organizations | |
| store | eval(selenium.isVisible('link=« Basic')) | basicVisible |
| gotoIf | !${basicVisible} | BasicNotVisible |
| clickAt | link=« Basic | |
| label | BasicNotVisible | |
| type | _11_keywords | Test Organization |
| clickAtAndWait | //input[@value='Search'] | |
| type | _11_keywords | |
| assertText | //td[1]/a | Test Organization |
| assertText | //td[2]/a | |
| assertText | //td[3]/a | Regular Organization |
| assertText | //td[4]/a | Diamond Bar |
| assertText | //td[5]/a | California |
| assertText | //td[6]/a | United States |
| assertText | //span/a/span | View Users |
| clickAtAndWait | //span/a/span | View Users |
| assertText | //td[1]/a | TestFirst1 |
| assertText | //td[2]/a | TestLast1 |
| assertText | //td[4]/a | |
| assertText | //td[3]/a | testsn1 |
| assertText | //td[5]/a | Test Organization |
| clickAtAndWait | //td[1]/a | TestFirst1 |
| assertText | //div[@class='user-information']/div[1]/h2 | TestFirst1 TestMiddle1 TestLast1 |
| assertText | //dl[@class='property-list']/dt[1] | Email Address |
| assertText | //dl[@class='property-list']/dd[1] | testemail1@liferay.com |
| assertText | //dl[@class='property-list']/dt[2] | Birthday |
| assertText | //dl[@class='property-list']/dd[2] | 1/1/70 |
| assertText | //dl[@class='property-list']/dt[3] | Gender |
| assertText | //dl[@class='property-list']/dd[3] | Male |
| assertText | //dl[@class='property-list']/dt[4] | Organization |
| assertText | //dl[@class='property-list']/dd[4] | Test Organization |
| assertText | //li[@class='primary'] | Billing 12345 Test Street 11111, Diamond Bar (Mailing) |