store |
[enter test account name here] |
username |
store |
[enter test account password here] |
password |
store |
/Members/test/folder_contents |
homefolder_url |
store |
[enter test target email address here] |
targetemail |
store |
[enter test supporter email address here] |
supporteremail |
store |
[enter test thank-you from - email address here] |
thankyouemailfrom |
open |
/login_form |
|
type |
__ac_name |
${username} |
type |
__ac_password |
${password} |
clickAndWait |
submit |
|
open |
${homefolder_url} |
|
click |
link=Add item |
|
clickAndWait |
link=Campaign Action |
|
type |
name |
Test action created by test script |
type |
title |
A test action |
type |
description |
This is the test action created by automated test script. It should be fully populated and deleted after testing. |
clickAndWait |
form_submit |
|
click |
link=Add item |
|
clickAndWait |
link=Action Message |
|
clickAndWait |
link=Edit without visual editor |
|
type |
text |
This is the HTML action message template |
type |
title |
Test Action Message Template |
type |
messagetitle |
Test action message subject |
clickAndWait |
form_submit |
|
clickAndWait |
link=A test action |
|
clickAndWait |
link=Contents |
|
click |
link=Add item |
|
clickAndWait |
link=Target Person |
|
type |
givenname |
Test |
type |
familyname |
Account |
type |
emailaddress |
${targetemail} |
type |
description |
test target that targets test |
clickAndWait |
form_submit |
|
clickAndWait |
link=A test action |
|
click |
link=Add item |
|
clickAndWait |
link=Thank You Page |
|
clickAndWait |
link=Edit without visual editor |
|
type |
text |
This is a HTML message to thank you for taking action! |
type |
title |
Test thank-you page template |
type |
messagetitle |
Thank you for taking action! |
clickAndWait |
form_submit |
|
clickAndWait |
link=A test action |
|
click |
link=Add item |
|
clickAndWait |
link=Thank You Email |
|
clickAndWait |
link=Edit without visual editor |
|
type |
text |
This is a HTML message sent to you via email to thank you for taking action! |
type |
title |
The test thank-you email template |
type |
messagetitle |
Thank you for taking action! |
clickAndWait |
form_submit |
|
clickAndWait |
link=A test action |
|
click |
link=Add item |
|
clickAndWait |
link=Action Edition |
|
type |
name |
Test e-Petition created by test script |
type |
title |
Take the action! |
type |
description |
This is a test e-Petition created by the automatic test script. |
select |
actiontype |
label=Simple e-Petition |
clickAndWait |
form_next |
|
click |
//input[@value='Browse...'] |
|
waitForPopUp |
referencebrowser_popup |
30000 |
selectWindow |
referencebrowser_popup |
|
clickAndWait |
//a[4]/span |
|
click |
//a[1]/strong |
|
click |
//div[4]/a[2] |
|
selectWindow |
null |
|
click |
//div[@id='archetypes-fieldname-messagetemplate']/div[2]/div/input[1] |
|
waitForPopUp |
referencebrowser_popup |
30000 |
selectWindow |
referencebrowser_popup |
|
clickAndWait |
//a[4]/span[1] |
|
click |
//a[1]/strong |
|
selectWindow |
null |
|
clickAndWait |
form_next |
|
type |
thankyouemailname |
Test system |
type |
thankyouemailfrom |
${thankyouemailfrom} |
click |
//input[@value='Browse...'] |
|
waitForPopUp |
referencebrowser_popup |
30000 |
selectWindow |
referencebrowser_popup |
|
selectWindow |
referencebrowser_popup |
|
clickAndWait |
//a[4]/span |
|
click |
//a[1]/strong |
|
selectWindow |
null |
|
click |
//div[@id='archetypes-fieldname-thankyoupage']/div[2]/div/input[1] |
|
waitForPopUp |
referencebrowser_popup |
30000 |
selectWindow |
referencebrowser_popup |
|
clickAndWait |
//a[4]/span[1] |
|
click |
//a[1]/strong |
|
selectWindow |
null |
|
clickAndWait |
form_submit |
|