setTimeout |
45000 |
|
storeGlobal |
javascript{Math.floor(Math.random()*11000)} |
randomSuffix |
open |
index.php/contactWebForms/default |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create |
|
assertTextPresent |
Contact Web Forms |
|
assertTextPresent |
Contact Web Form Entries |
|
clickAndWait |
//div[@id='SecuredActionBarForContactWebFormsSearchAndListView']/div/nav/div[1]/a/span |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Create Contact Web Form |
|
clickAndWait |
save |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
waitForTextPresent |
Name cannot be blank. |
|
waitForTextPresent |
Redirect Url cannot be blank. |
|
assertValue |
ContactWebForm_submitButtonLabel |
Submit |
assertSelectedLabel |
ContactWebForm_language_value |
English (English) |
assertSelectedLabel |
ContactWebForm_defaultState_id |
New |
assertValue |
ContactWebForm_defaultOwner_name |
Super User |
type |
id=ContactWebForm_name |
Test Create Contact Web Form ${randomSuffix} |
type |
id=ContactWebForm_redirectUrl |
www.test.com |
select |
id=ContactWebForm_defaultState_id |
label=In Progress |
click |
id=ContactWebForm_explicitReadWriteModelPermissions_type_2 |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
clickAndWait |
save |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
30000 |
assertTextPresent |
Test Create Contact Web Form ${randomSuffix} |
|
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[1]/td |
Test Create Contact Web Form ${randomSuffix} |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[2]/td |
http://www.test.com |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[3]/td |
Submit |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[4]/td |
English (English) |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[5]/td |
In Progress |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[6]/td |
Super User |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[7]/td |
Owner |
assertText |
//div[@id='ContactWebFormEditAndDetailsView']/div/div[2]/div[2]/table/tbody/tr[10]/td |
Last Name |