store |
test |
username |
store |
[enter password here] |
password |
store |
/Members/test |
testhome_url |
store |
[enter target email address here] |
targetemail |
store |
[enter supporter email address here] |
supporteremail |
store |
[enter the email address the thanks message is sent from here] |
thankyouemailfrom |
open |
/login_form |
|
type |
__ac_name |
${username} |
type |
__ac_password |
${password} |
clickAndWait |
submit |
|
open |
${testhome_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. |
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. Data merge test: [__ec_dm] |
type |
title |
Default Action Message |
type |
messagetitle |
Test action message subject |
clickAndWait |
form_submit |
|
verifyTextPresent |
success |
|
clickAndWait |
link=A test action |
|
click |
link=Add item |
|
clickAndWait |
link=Target Person |
|
type |
givenname |
Default |
type |
familyname |
Person Target |
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! Data merge test: [__ec_dm] |
type |
title |
Default Thankyou page |
type |
messagetitle |
Thank you for taking action! |
clickAndWait |
form_submit |
|
verifyTextPresent |
success |
|
clickAndWait |
link=A test action |
|
click |
link=Add item |
|
clickAndWait |
link=Thank You Email |
|
clickAndWait |
link=Edit |
|
clickAndWait |
link=Edit without visual editor |
|
type |
text |
This is a HTML message sent to you via email to thank you for taking action! Data merge test: [__ec_dm] |
type |
title |
Default Thankyou email |
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 Action Edition created by test script |
type |
title |
Take the action! |
type |
description |
This is a test Action Edition 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[5]/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 |
|
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 |
|
selectWindow |
referencebrowser_popup |
|
clickAndWait |
//a[4]/span |
|
click |
//a[1]/strong |
|
selectWindow |
null |
|
clickAndWait |
form_submit |
|