calendar_suite1
open | /login.html |
type | username | admin
type | password | admin
clickAndWait | image |
verifyTextPresent | Communities |
open | /communities/?titlestartswith=T |
clickAndWait | //div[@id='center']/div/div[4]/div[1]/a |
clickAndWait | link=CALENDAR |
assertTextPresent | Add Event |
open | /communities/test_selenium/view.html |
clickAndWait | link=CALENDAR |
clickAndWait | link=Add Event |
type | title | calendar123
select | //fieldset[@id='startdate-field']/span[1]/select[1] | label=12
select | //fieldset[@id='startdate-field']/span[1]/select[2] | label=30
select | //fieldset[@id='enddate-field']/span/select[2] | label=45
type | location | our house with two cats in the yard
type | attendees | Staff One Staff Two Affili Atay
type | contact_name | Staff One
type | contact_email | karltest@mailinator.com
click | sendalert-false |
clickAndWait | form-submit |
assertTextPresent | calendar123 |
assertTextPresent | Staff One |
assertTextPresent | karltest@mailinator.com |
clickAndWait | link=Edit |
type | title | calendar234
clickAndWait | form-submit |
assertTextPresent | calendar234 |
clickAndWait | link=Delete |
assertTextPresent | exact:Do you really want to delete calendar234 ? ok cancel |
clickAndWait | link=ok |