| open |
/portal |
|
| windowMaximize |
|
|
| echo |
-Simgle Search- |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- Add an Contact |
|
| waitForElementPresent |
link=Contacts |
|
| click |
link=Contacts |
|
| waitForElementPresent |
link=Contact |
|
| click |
link=Contact |
|
| waitForElementPresent |
firstName |
|
| type |
firstName |
Test_52 |
| type |
lastName |
eXo_Contact |
| type |
nickName |
Contact_52 |
| type |
jobTitle |
eXo_Tester_52 |
| type |
multiEmail0 |
Test_52@gmail.com |
| click |
link=Save |
|
| echo |
-- Verify contacts created |
|
| waitForElementPresent |
xpath=//div[@class='PersonalAddress']//div[@title='My Contacts'] |
|
| click |
xpath=//div[@class='PersonalAddress']//div[@title='My Contacts'] |
|
| waitForElementPresent |
link=Test_52 eXo_Contact |
|
| verifyElementPresent |
link=Test_52 eXo_Contact |
|
| waitForElementPresent |
link=Test_52@gmail.com |
|
| verifyElementPresent |
link=Test_52@gmail.com |
|
| echo |
-- Search for Contact |
|
| waitForElementPresent |
inputValue |
|
| type |
inputValue |
Test_52 |
| click |
xpath=//a[@title='Search'] |
|
| waitForElementPresent |
link=Test_52 eXo_Contact |
|
| verifyElementPresent |
link=Test_52 eXo_Contact |
|
| echo |
-- Delete search contact |
|
| waitForElementPresent |
//td[1]/input |
|
| click |
//td[1]/input |
|
| click |
//div[2]/a[4]/div |
|
| assertConfirmation |
Are you sure you want to delete this contact ? |
|
| clickAndWait |
link=Logout |
|
| close |
|
|