Commit 9c53df82 authored by Boxiang Sun's avatar Boxiang Sun

erp5_user_tutorial: Update user-Howto.Post.Outgoing.Events

parent 2ca2e995
<section class="master">
<h1>How to Send Outgoing Events</h1>
<img alt="Send outgoing Events in Tickets" title="Send outgoing Events in Tickets" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Front.Page.Ticket.Opened.Event.Sent?format=png">
<footer>
by <a href="http://www.osoe-project.org/contact">OSOE Project</a>.
</footer>
<details open="open">
<p>
We now know how to <strong>create outgoing Events</strong>
and associate them to a Ticket such as a campaign. In this tutorial, you will learn how to
<strong>send an outgoing Event</strong>
created for the campaign Ticket.
</p>
</details>
<test>
<table style="display: none;" class="test">
<section class="master">
<h1>How to Send Outgoing Events</h1>
<img alt="Send outgoing Events in Tickets" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Front.Page.Ticket.Opened.Event.Sent?format=png" title="Send outgoing Events in Tickets" />
<footer>by <a href="http://www.osoe-project.org/contact">OSOE Project</a>.
</footer>
<details open="open">
<p>We now know how to <strong>create outgoing Events</strong> and associate them to a Ticket such as a campaign. In this tutorial, you will learn how to <strong>send an outgoing Event</strong> created for the campaign Ticket.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/init_test_environment"&gt;init&lt;/span&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPostEventTest</td>
<td>
<br>
</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Init Ok</td>
<td>
<br>
</td>
</tr>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user"&gt;Login As Functional Test User&lt;/span&gt;</td>
</tr>
<tr style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/init_test_environment&quot;&gt;init&lt;/span&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_setUpPostEventTest</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Init Ok</td>
<td>&nbsp;</td>
</tr>
<tr style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/wait_for_activities&quot;&gt; Wait for activities &lt;/span&gt;</td>
</tr>
<tr style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/login_as_functional_test_user&quot;&gt;Login As Functional Test User&lt;/span&gt;</td>
</tr>
</tbody>
</table>
</test>
</section><section>
<h1>Agenda</h1>
<ul>
<li>Confirm the Event</li>
<li>Send the Event</li>
<li>Check the Event status</li>
</ul>
<test>
<table style="display: none;" class="test">
<tbody></tbody>
</table>
</test>
</section><section class="screenshot">
<h1>The planned Event sheet</h1>
<img alt="The planned Event sheet - Event to be send" title="The planned Event sheet - Event to be send" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Event.Sheet?format=png">
<details open="open">
<p>The Red Zone of the screenshot shows you the Bread Crumb which gives you your location in your ERP5 instance: the planned Event waiting to be sent.</p><p>
The Blue Zone displays the content of the Event. As we have edited this Event previously, it is now <strong>ready to be sent</strong>
. We will then explain how to send this event from this event sheet.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section>
<h1>Agenda</h1>
<ul>
<li>Confirm the Event</li>
<li>Send the Event</li>
<li>Check the Event status</li>
</ul>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>open</td>
<td>${base_url}/view</td>
<td></td>
</tr>
<tr>
<td>selectAndWait</td>
<td>//select[@name="select_module"]</td>
<td>Events</td>
</tr>
<tr style="opacity: 1; z-index: 0;" class="">
<td colspan="3">&lt;tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=(['title', 'ZUITE-TEST-POST-EVENT-EVENT-001'],), enter_object=True)"/&gt;</td>
</tr>
<tr>
<td>verifyText</td>
<td>//label[normalize-space(text())='State']/../div</td>
<td>Planned</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Confirm the Event (1): Click on 'Confirm' in 'Action' list</h1>
<img alt="Send the Event (1): Confirm the planned Event" title="Send the Event (1): Confirm the planned Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Confirm.Event.Action.List.Confirm?format=png">
<details open="open">
<p>
In order to send the Event, first we should verify that everything is correct in the Event sheet and then <strong>confirm</strong>
the
<strong>Planned Event</strong>
.
</p><p>The Red Zone displays the current state of the Event is “planned”. This means that this Event has been created in the Follow Up Ticket, and waiting to be sent to the person set in the Recipient field of this Event. The person set in the Sender field will be displayed as the Sender when the Recipient receives the Event.</p><p>
When you are sure everything is fine, you can then confirm the planned Event. <strong>Open the Action item list</strong>
as circled in the Blu Zone on the sreenshot. Then
<strong>click on Confirm</strong>
.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>The planned Event sheet</h1>
<img alt="The planned Event sheet - Event to be send" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Event.Sheet?format=png" title="The planned Event sheet - Event to be send" />
<details open="open">
<p>The Red Zone of the screenshot shows you the Bread Crumb which gives you your location in your ERP5 instance: the planned Event waiting to be sent.</p>
<p>The Blue Zone displays the content of the Event. As we have edited this Event previously, it is now <strong>ready to be sent</strong> . We will then explain how to send this event from this event sheet.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>selectAndWait</td>
<td>//select[@name="select_action"]</td>
<td>Confirm</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Modules&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot; /&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Events&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;&lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot; /&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-EVENT-001&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>click</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-EVENT-001&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name=&quot;editable&quot;]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@name=&quot;field_my_title&quot;]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>verifyText</td>
<td>//p[@id=&quot;field_my_translated_simulation_state_title&quot;]</td>
<td>Planned</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Confirm the Event (2): Comment and confirm</h1>
<img alt="Confirm the Event (1): Comment and confirm" title="Confirm the Event (1): Comment and confirm" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Confirm.Event.Comments.Confirm?format=png">
<details open="open">
<p>
In this page you can add comments to this Event going to be confirmed, and then <strong>click on Confirm</strong>
once again.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Confirm the Event (1): Click on &#39;Confirm&#39; in &#39;Action&#39; list</h1>
<img alt="Send the Event (1): Confirm the planned Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Confirm.Event.Action.List.Confirm?format=png" title="Send the Event (1): Confirm the planned Event" />
<details open="open">
<p>In order to send the Event, first we should verify that everything is correct in the Event sheet and then <strong>confirm</strong> the <strong>Planned Event</strong> .
</p>
<p>The Red Zone displays the current state of the Event is &ldquo;planned&rdquo;. This means that this Event has been created in the Follow Up Ticket, and waiting to be sent to the person set in the Recipient field of this Event. The person set in the Sender field will be displayed as the Sender when the Recipient receives the Event.</p>
<p>When you are sure everything is fine, you can then confirm the planned Event. <strong>Open the Action item list</strong> as circled in the Blu Zone on the sreenshot. Then <strong>click on Confirm</strong> .
</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>clickAndWait</td>
<td>//button[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr style="opacity: 1; z-index: 0;" class="">
<td>verifyText</td>
<td>//div[@id="transition_message"]</td>
<td>Status changed.</td>
</tr>
<tr>
<td>verifyText</td>
<td>//label[normalize-space(text())='State']/../div</td>
<td>Confirmed</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Confirm&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Send the Event (1): Click on 'Send' in 'Action' item list</h1>
<img alt="Send the Event (1): Click on 'Send' in 'Action' item list" title="Send the Event (1): Click on 'Send' in 'Action' item list" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Send.Event.Status.Confirmed.Action.Send?format=png">
<details open="open">
<p>
After you <strong>Confirm</strong>
the Event, you will see in the Event sheet the status has changed from
<strong>Planned</strong>
to
<strong>Confirmed</strong>
.
</p><p>
Then we will <strong>Send</strong>
the
<strong>confirmed</strong>
Event. The first step is to
<strong>click on Send</strong>
in the Action item list.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Confirm the Event (2): Comment and confirm</h1>
<img alt="Confirm the Event (1): Comment and confirm" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Confirm.Event.Comments.Confirm?format=png" title="Confirm the Event (1): Comment and confirm" />
<details open="open">
<p>In this page you can add comments to this Event going to be confirmed, and then <strong>click on Confirm</strong> once again.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>selectAndWait</td>
<td>//select[@name="select_action"]</td>
<td>Send</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Confirm&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//p[text()=&quot;Confirmed&quot;]</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Send the Event (2): Comment and send the Event</h1>
<img alt="Send the Event (2): Comment and send the Event" title="Send the Event (2): Comment and send the Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Send.Event.Comment.Send?format=png" type="image/svg+xml">
<details open="open">
<p>This is the page that asks for confirmation that you really want to send the Event. When an Event is sent, it cannot be modified anymore, so be careful.</p><p>
You can first <strong>add some comments</strong>
if needed, which will be seen only by your team. When you are ready to send the Event,
<strong>click on Send</strong>
.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Send the Event (1): Click on &#39;Send&#39; in &#39;Action&#39; item list</h1>
<img alt="Send the Event (1): Click on 'Send' in 'Action' item list" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Send.Event.Status.Confirmed.Action.Send?format=png" title="Send the Event (1): Click on 'Send' in 'Action' item list" />
<details open="open">
<p>After you <strong>Confirm</strong> the Event, you will see in the Event sheet the status has changed from <strong>Planned</strong> to <strong>Confirmed</strong> .
</p>
<p>Then we will <strong>Send</strong> the <strong>confirmed</strong> Event. The first step is to <strong>click on Send</strong> in the Action item list.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>clickAndWait</td>
<td>//button[@id="dialog_submit_button"]</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Send&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Check the Event status (1): In the Event sheet</h1>
<img alt="Check the Event status (1): In the Event sheet" title="Check the Event status (1): In the Event sheet" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.1.Event.Sheet?format=png">
<details open="open">
<p>
After the Event is sent, you will have to check the <strong>Event status</strong>
to make sure the Event is sent to the intended recipient. There are
<strong>three documents</strong>
you need to check in order to make sure that your Event has been sent, and that the Recipient has successfully received the Event:
<strong>the Event sheet, the Ticket sheet, and the Recipient's document</strong>
.
</p><p>
Now we will first look at the <strong>Event sheet</strong>
. After you click on Send in the last step, you will be lead back on your Event sheet. As shown in the screenshot, first, you can see in the red circled area that the status of your Event has changed from "Confirmed" to "Sent", which means
<strong>your Event has been "Sent"</strong>
.
</p><p>
Then we will have to check the <strong>Ticket sheet</strong>
.
<strong>Click on the Plane Icon</strong>
next to the Follow Up field of your Event. This action will lead you back to the related Ticket, in our example, which is still the same campaign "Beta Developer Program" as in the previous tutorial “How to Send Outgoing Events”.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Send the Event (2): Comment and send the Event</h1>
<img alt="Send the Event (2): Comment and send the Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Send.Event.Comment.Send?format=png" title="Send the Event (2): Comment and send the Event" type="image/svg+xml" />
<details open="open">
<p>This is the page that asks for confirmation that you really want to send the Event. When an Event is sent, it cannot be modified anymore, so be careful.</p>
<p>You can first <strong>add some comments</strong> if needed, which will be seen only by your team. When you are ready to send the Event, <strong>click on Send</strong> .
</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr style="opacity: 1; z-index: 0;" class="">
<td>verifyText</td>
<td>//div[@id="transition_message"]</td>
<td>Status changed.</td>
</tr>
<tr>
<td>verifyText</td>
<td>//label[normalize-space(text())='State']/../div</td>
<td>Sent</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/submit_dialog&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Check the Event status (2): In the Ticket sheet</h1>
<img alt="Check the Event status (2): In the Ticket sheet" title="Check the Event status (2): In the Ticket sheet" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.2.Ticket.Sheet?format=png">
<details open="open">
<p>
From the previous step we see that the <strong>Event sheet</strong>
shows the Event is sent. After we clicked on the plane icon, we are lead to the sheet of the message Event's
<strong>Follow Up Ticket</strong>
- in our example the Beta Developer Program. So as you can see circled in red on the screenshot of the Campaign Ticket, in the
<strong>Events list</strong>
, the Event is now displayed in a sent state. Again, this means that
<strong>your Event has been sent</strong>
.
</p><p>
However, are you sure that your Event has been sent to the right person/the Recipient that you set in the Event? And do you want to know how this message Event is displayed on the person document of the Recipient? In order to have a clear look, we will need to access to the <strong>Person Document of the Recipient</strong>
.
<strong>Open the “Modules” item list, and click on “Person”</strong>
. This will lead you to the person module of your ERP5 instance, displaying the list of
the persons stored in your instance.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Check the Event status (1): In the Event sheet</h1>
<img alt="Check the Event status (1): In the Event sheet" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.1.Event.Sheet?format=png" title="Check the Event status (1): In the Event sheet" />
<details open="open">
<p>After the Event is sent, you will have to check the <strong>Event status</strong> to make sure the Event is sent to the intended recipient. There are <strong>three documents</strong> you need to check in order to make sure that your Event has been sent, and that the Recipient has successfully received the Event: <strong>the Event sheet, the Ticket sheet, and the Recipient&#39;s document</strong> .
</p>
<p>Now we will first look at the <strong>Event sheet</strong> . After you click on Send in the last step, you will be lead back on your Event sheet. As shown in the screenshot, first, you can see in the red circled area that the status of your Event has changed from &quot;Confirmed&quot; to &quot;Sent&quot;, which means <strong>your Event has been &quot;Sent&quot;</strong> .
</p>
<p>Then we will have to check the <strong>Ticket sheet</strong> . <strong>Click on the Plane Icon</strong> next to the Follow Up field of your Event. This action will lead you back to the related Ticket, in our example, which is still the same campaign &quot;Beta Developer Program&quot; as in the previous tutorial &ldquo;How to Send Outgoing Events&rdquo;.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>clickAndWait</td>
<td>//input[@name="field_my_default_follow_up_title"]/../a</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id="breadcrumb"]/a[2]</td>
<td>Campaigns</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id="breadcrumb"]/a[3]</td>
<td>ZUITE-TEST-POST-EVENT-CAMPAIGN-001</td>
</tr>
<tr>
<td>verifyText</td>
<td>//span[@class="listbox-current-page-total-number"]</td>
<td>1 records</td>
</tr>
<tr>
<td>verifyText</td>
<td>//tr[@class='listbox-data-line-0 DataA']/td[7]/</td>
<td>Sent</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//p[text()=&quot;Sent&quot;]</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Check the Event status (3): Reach ERP5 Persons database</h1>
<img alt="Check the Event status (3): Reach ERP5 Persons database" title="Check the Event status (3): Reach ERP5 Persons database" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.3.Persons.Database?format=png">
<details open="open">
<p>
Now that you have been lead to the Persons database of your ERP5 instance which displays the list of the persons stored in your instance, <strong>Click on the line of the Recipient of the Event</strong>
. In our example, we choose one of the recipients to whom the mail message was sent.
</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Check the Event status (2): In the Ticket sheet</h1>
<img alt="Check the Event status (2): In the Ticket sheet" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.2.Ticket.Sheet?format=png" title="Check the Event status (2): In the Ticket sheet" />
<details open="open">
<p>From the previous step we see that the <strong>Event sheet</strong> shows the Event is sent. After we clicked on the plane icon, we are lead to the sheet of the message Event&#39;s <strong>Follow Up Ticket</strong> - in our example the Beta Developer Program. So as you can see circled in red on the screenshot of the Campaign Ticket, in the <strong>Events list</strong> , the Event is now displayed in a sent state. Again, this means that <strong>your Event has been sent</strong> .
</p>
<p>However, are you sure that your Event has been sent to the right person/the Recipient that you set in the Event? And do you want to know how this message Event is displayed on the person document of the Recipient? In order to have a clear look, we will need to access to the <strong>Person Document of the Recipient</strong> . <strong>Open the &ldquo;Modules&rdquo; item list, and click on &ldquo;Person&rdquo;</strong> . This will lead you to the person module of your ERP5 instance, displaying the list of the persons stored in your instance.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>selectAndWait</td>
<td>//select[@name="select_module"]</td>
<td>Persons</td>
</tr>
<tr>
<td>click</td>
<td>//input[@name=&quot;field_my_default_follow_up_title&quot;]/../../a</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//input[@value=&quot;ZUITE-TEST-POST-EVENT-CAMPAIGN-001&quot;]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot; /&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-EVENT-001&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(text(), &quot;Sent&quot;)]</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Check the Event status (4): In the Recipient's document</h1>
<img alt="Check the Event status (4): In the Recipient's document" title="Check the Event status (4): In the Recipient's document" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.4.Recipient.Document?format=png">
<details open="open">
<p>
Now we have been redirected to Rafaël Dubois's Person Document (the recipient you choose may differ), to check how the Event behaves in this document, we will <strong>click on the “Event” tab</strong>
, as circled in the top of the screenshot.
</p><p>In ERP5 the Event tab of the person document displays all the Events that have been sent or received by a person. As you can see in the screenshot, the Event we have sent in this tutorial is displayed here. This method helps you follow the relations you have with your clients, suppliers and prospects. If you click on the Event, you will be redirected to the sheet of this Event.</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Check the Event status (3): Reach ERP5 Persons database</h1>
<img alt="Check the Event status (3): Reach ERP5 Persons database" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.3.Persons.Database?format=png" title="Check the Event status (3): Reach ERP5 Persons database" />
<details open="open">
<p>Now that you have been lead to the Persons database of your ERP5 instance which displays the list of the persons stored in your instance, <strong>Click on the line of the Recipient of the Event</strong> . In our example, we choose one of the recipients to whom the mail message was sent.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr style="opacity: 1; z-index: 0;" class="">
<td colspan="3">&lt;tal:block tal:content="structure python: here.Zuite_generateListboxBrowsing(listbox_selection=(['title', 'ZUITE-TEST-POST-EVENT-PERSON-SUPERVISOR'],), enter_object=True)"/&gt;</td>
</tr>
<tr>
<td>verifyText</td>
<td>//div[@id="breadcrumb"]/a[3]</td>
<td>ZUITE-TEST-POST-EVENT-PERSON-SUPERVISOR</td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Events</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>ZUITE-TEST-POST-EVENT-EVENT-001</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Modules&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot; /&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Persons&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_page_link&quot;&gt; &lt;/tal:block&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;&lt;/tal:block&gt;</td>
</tr>
</tbody>
</table>
</test>
</section><section class="screenshot">
<h1>Your Event has been sent</h1>
<img alt="Back to the sent Event" title="Back to the sent Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Event.Sent?format=png">
<details open="open">
<p>Here we are back on the Event sheet of the Event that we have sent to Rafaël Dubois and other recipients in this tutorial.</p>
</details>
<test>
<table style="display: none;" class="test">
</table>
</test>
</section>
<section class="screenshot">
<h1>Check the Event status (4): In the Recipient&#39;s document</h1>
<img alt="Check the Event status (4): In the Recipient's document" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Check.Status.4.Recipient.Document?format=png" title="Check the Event status (4): In the Recipient's document" />
<details open="open">
<p>Now we have been redirected to Rafa&euml;l Dubois&#39;s Person Document (the recipient you choose may differ), to check how the Event behaves in this document, we will <strong>click on the &ldquo;Event&rdquo; tab</strong> , as circled in the top of the screenshot.</p>
<p>In ERP5 the Event tab of the person document displays all the Events that have been sent or received by a person. As you can see in the screenshot, the Event we have sent in this tutorial is displayed here. This method helps you follow the relations you have with your clients, suppliers and prospects. If you click on the Event, you will be redirected to the sheet of this Event.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>clickAndWait</td>
<td>link=ZUITE-TEST-POST-EVENT-EVENT-001</td>
<td></td>
</tr>
<tr>
<td>verifyText</td>
<td>//label[normalize-space(text())='State']/../div</td>
<td>Sent</td>
</tr>
<tr class="" style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/login_as_manager"&gt;Login As Manager&lt;/span&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_tearDownPostEventTest</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Clean Ok</td>
<td></td>
</tr>
<tr>
<td colspan="3">&lt;span metal:use-macro="container/Zuite_viewTestMacroLibrary/macros/wait_for_activities"&gt; Wait for activities &lt;/span&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_listbox_loaded&quot; /&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-PERSON-SUPERVISOR&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>click</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-PERSON-SUPERVISOR&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block tal:define=&quot;click_configuration python: {&#39;text&#39;: &#39;Events&#39;}&quot;&gt; &lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/click_on_panel_link&quot; /&gt; &lt;/tal:block&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-EVENT-001&quot;)]</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
</test>
</section>
\ No newline at end of file
</table>
</test>
</section>
<section class="screenshot">
<h1>Your Event has been sent</h1>
<img alt="Back to the sent Event" src="http://img.erp5.cn/user-Howto.Send.Outgoing.Events.Event.Sent?format=png" title="Back to the sent Event" />
<details open="open">
<p>Here we are back on the Event sheet of the Event that we have sent to Rafa&euml;l Dubois and other recipients in this tutorial.</p>
</details>
<test>
<table class="test" style="display: none;">
<tbody>
<tr>
<td>click</td>
<td>//a[contains(text(), &quot;ZUITE-TEST-POST-EVENT-EVENT-001&quot;)]</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;tal:block metal:use-macro=&quot;here/Zuite_CommonTemplateForRenderjsUi/macros/wait_for_content_loaded&quot;&gt;&lt;/tal:block&gt;</td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//p[text()=&quot;Sent&quot;]</td>
<td>&nbsp;</td>
</tr>
<tr style="opacity: 1;">
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/login_as_manager&quot;&gt;Login As Manager&lt;/span&gt;</td>
</tr>
<tr>
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/wait_for_activities&quot;&gt; Wait for activities &lt;/span&gt;</td>
</tr>
<tr>
<td>openAndWait</td>
<td>${base_url}/Zuite_tearDownPostEventTest</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>Clean Ok</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&lt;span metal:use-macro=&quot;container/Zuite_viewTestMacroLibrary/macros/wait_for_activities&quot;&gt; Wait for activities &lt;/span&gt;</td>
</tr>
</tbody>
</table>
</test>
</section>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment