deleteAllVisibleCookies |
|
|
setTimeout |
100000 |
|
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=Librarian |
|
assertTitle |
Librarian |
|
clickAndWait |
link=Librarian, Lily |
|
assertTitle |
Librarian, Lily |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_lily1.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
comment |
|
assertTitle |
Replace image for Librarian, Lily |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyElementPresent |
//div[@id='photoUploadDefaultImageContainer']/img |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\lily2.jpg |
clickAndWait |
link=Cancel |
|
assertTitle |
Librarian, Lily |
|
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
comment |
|
assertTitle |
Replace image for Librarian, Lily |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyElementPresent |
//div[@id='photoUploadDefaultImageContainer']/img |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\lily2.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Librarian, Lily |
|
clickAndWait |
link=Cancel |
|
assertTitle |
Librarian, Lily |
|
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
comment |
|
assertTitle |
Replace image for Librarian, Lily |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyElementPresent |
//div[@id='photoUploadDefaultImageContainer']/img |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\lily2.jpg |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Librarian, Lily |
|
verifyTextPresent |
Photo Upload |
|
verifyTextPresent |
Current Photo |
|
verifyTextPresent |
Your profile photo will look like the image below. |
|
verifyTextPresent |
To make adjustments, you can drag around and resize the photo to the right. When you are happy with your photo click the "Save Photo" button. |
|
clickAndWait |
//input[@value='Save photo'] |
|
assertTitle |
Librarian, Lily |
|
comment |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_lily2.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
comment |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\lily3.png |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Librarian, Lily |
|
clickAndWait |
//input[@value='Save photo'] |
|
assertTitle |
Librarian, Lily |
|
comment |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_lily3.jpg |
comment |
|
clickAndWait |
//div[@id='dprop-vitro-image']/div/div/div/span/a[1] |
|
comment |
|
type |
datafile |
C:\VIVO\vivo\utilities\acceptance-tests\suites\CreatePeople\lily4.gif |
clickAndWait |
//input[@value='Upload photo'] |
|
assertTitle |
Crop Photo for Librarian, Lily |
|
clickAndWait |
//input[@value='Save photo'] |
|
assertTitle |
Librarian, Lily |
|
comment |
|
verifyAttribute |
//img[@title='click to view larger image']@src |
/vivo/file/*/thumbnail_lily4.jpg |
comment |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=Log out |
|
assertTitle |
VIVO |
|