| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Image Gallery Test Page |
|
| clickAtAndWait |
link=Image Gallery Test Page |
|
| clickAtAndWait |
//a/strong |
|
| clickAtAndWait |
//a/strong |
|
| assertElementPresent |
//img[@alt='Test1 Image1 - This is Test1 Image1.'] |
|
| assertText |
//span[@class='image-title'] |
Test1 Image1 |
| clickAt |
//img[@alt='Test1 Image1 - This is Test1 Image1.'] |
|
| waitForVisible |
//img[@alt='Delete'] |
|
| clickAtAndWait |
//img[@alt='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| assertElementNotPresent |
//img[@alt='Test1 Image1 - This is Test1 Image1.'] |
|
| assertTextNotPresent |
Test1 Image1 |
|