open |
/cms/logout |
|
open |
/admin/ |
|
type |
id_username |
admin |
type |
id_password |
admin |
clickAndWait |
//input[@value='Log in'] |
|
clickAndWait |
link=Browse by type |
|
clickAndWait |
link=Photos |
|
clickAndWait |
link=Add photo |
|
type |
id_name |
CA16-Cl03 photo |
select |
id_status |
label=Published |
type |
id_image |
${TEST_DATA_DIR}/test_pdf.pdf |
clickAndWait |
_save |
|
assertTextPresent |
Please correct the error below. |
|
assertTextPresent |
Upload a valid image. The file you uploaded was either not an image or a corrupted image. |
|
clickAndWait |
link=Log out |
|