| assertElementPresent |
//p[@id='contact-tab-person-label']/span[2] |
|
| click |
//p[@id='contact-tab-person-label']/span[2] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertElementPresent |
//span[@onclick='Todoyu.Ext.contact.Person.edit(17)'] |
|
| click |
//span[@onclick='Todoyu.Ext.contact.Person.edit(17)'] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertElementPresent |
css=div#contact-form-content form#person-17-form.fForm |
|
| assertElementPresent |
//div[@id='formElement-person-17-field-salutation-inputbox']/label[1] |
|
| assertElementPresent |
person-17-field-lastname |
|
| assertElementPresent |
person-17-field-firstname |
|
| assertElementPresent |
person-17-field-shortname |
|
| assertElementPresent |
person-17-field-birthday |
|
| assertElementPresent |
person-17-field-comment |
|
| assertElementPresent |
//div[@id='formElement-person-17-field-preview-inputbox']/span/img |
|
| assertElementPresent |
person-17-field-upload |
|
| assertElementPresent |
person-17-field-remove |
|
| assertElementPresent |
add-record |
|
| assertElementPresent |
//button[@id='add-record' and @type='button' and @onclick="Todoyu.Form.addRecord(17, 'person', 'address', 'contact', 'person');this.blur()"] |
|
| assertElementPresent |
//button[@id='add-record' and @type='button' and @onclick="Todoyu.Form.addRecord(17, 'person', 'company', 'contact', 'person');this.blur()"] |
|
| assertElementPresent |
expand-all |
|
| assertElementPresent |
person-17-field-is-active |
|
| assertElementPresent |
person-17-field-save |
|
| assertElementPresent |
person-17-field-cancel |
|
| focus |
person-17-field-lastname |
|
| keyPress |
person-17-field-lastname |
\46 |
| keyPress |
person-17-field-lastname |
\46 |
| keyPress |
person-17-field-lastname |
\46 |
| keyPress |
person-17-field-lastname |
\46 |
| keyPress |
person-17-field-lastname |
\46 |
| keyPress |
person-17-field-lastname |
\46 |
| assertValue |
person-17-field-lastname |
|
| click |
person-17-field-save |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextPresent |
This is a required field |
|
| assertElementPresent |
css=div#formElement-person-17-field-lastname-labelbox.error |
|
| type |
person-17-field-lastname |
formerlyknownaswagner |
| pause |
100 |
|
| click |
person-17-field-save |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextPresent |
formerlyknowna |
|
| assertTextPresent |
Bach |
|
| assertTextPresent |
Dietrich |
|
| assertElementPresent |
//span[@onclick='Todoyu.Ext.contact.Person.edit(17)'] |
|
| click |
//span[@onclick='Todoyu.Ext.contact.Person.edit(17)'] |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| type |
person-17-field-lastname |
Wagner |
| click |
person-17-field-save |
|
| pause |
100 |
|
| waitForCondition |
selenium.browserbot.getUserWindow().Ajax.activeRequestCount == 0 |
10000 |
| assertTextPresent |
Wagner |
|