deleteAllVisibleCookies |
|
|
comment |
|
open |
/vivo/ |
|
assertTitle |
VIVO |
|
comment |
|
clickAndWait |
link=Log in |
|
assertTitle |
Log in to VIVO |
|
comment |
|
type |
loginName |
testAdmin |
type |
loginPassword |
Password |
clickAndWait |
loginForm |
|
assertTitle |
VIVO |
|
comment |
|
clickAndWait |
link=Index |
|
assertTitle |
Index to VIVO Contents |
|
clickAndWait |
link=Country |
|
assertTitle |
Country |
|
clickAndWait |
link=Germany |
|
assertTitle |
Germany |
|
verifyTextPresent |
image |
|
comment |
|
verifyElementNotPresent |
//img[@title='no image'] |
|
verifyTextNotPresent |
//img[@title='click to view larger image'] |
|
comment |
|
clickAndWait |
link=add |
|
assertTitle |
Upload image for Germany |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyTextPresent |
Upload a photo (JPEG, GIF or PNG) |
|
comment |
|
clickAndWait |
link=Cancel |
|
comment |
|
assertTitle |
Germany |
|
clickAndWait |
link=add |
|
assertTitle |
Upload image for Germany |
|
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Upload image for Germany |
|
verifyTextPresent |
Please browse and select a photo. |
|
comment |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\germany1.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Germany |
|
clickAndWait |
link=Cancel |
|
assertTitle |
Germany |
|
comment |
|
clickAndWait |
link=add |
|
assertTitle |
Upload image for Germany |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\germany1.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Germany |
|
clickAndWait |
//input[@value='Save photo'] |
|
assertTitle |
Germany |
|
verifyElementPresent |
//img[@title='click to view larger image'] |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_germany1.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
assertTitle |
Replace image for Germany |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyElementPresent |
//div[@id='photoUploadDefaultImageContainer']/img |
|
verifyElementPresent |
link=Delete photo |
|
verifyTextPresent |
Replace Photo (JPEG, GIF or PNG) |
|
comment |
|
clickAndWait |
link=Cancel |
|
assertTitle |
Germany |
|
verifyElementPresent |
//img[@title='click to view larger image'] |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_germany1.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
assertTitle |
Replace image for Germany |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\germany2.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Germany |
|
clickAndWait |
link=Cancel |
|
assertTitle |
Germany |
|
verifyElementPresent |
//img[@title='click to view larger image'] |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_germany1.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
assertTitle |
Replace image for Germany |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\germany2.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Germany |
|
clickAndWait |
//input[@value='Save photo'] |
|
assertTitle |
Germany |
|
comment |
|
verifyElementPresent |
//img[@title='click to view larger image'] |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_germany2.jpg |
comment |
|
clickAndWait |
link=delete |
|
assertConfirmation |
Are you sure you want to delete your photo? |
|
refreshAndWait |
10000 |
|
assertTitle |
Germany |
|
verifyTextPresent |
image |
|
comment |
|
verifyElementNotPresent |
//img[@title='click to view larger image'] |
|
comment |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|