<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://localhost/" />
<title>EditConversation</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">EditConversation</td></tr>
</thead><tbody>
<tr>
	<td>setSpeed</td>
	<td>1500</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='MenuView']/ul/li[6]/a/span[2]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Created</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=td &gt; a</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Edit</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_subject</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=span.z-label</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_description</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=div.errorMessage</td>
	<td>Subject cannot be blank.</td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_subject</td>
	<td>Edited Conversation ${randomTitle} - Blank Description</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=save</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=h1</td>
	<td>Edited Conversation ${randomTitle} - Blank Description</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Praxis Corporation</td>
	<td>Praxis Corporation</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Cross Country Shipments</td>
	<td>Cross Country Shipments</td>
</tr>
<tr>
	<td>click</td>
	<td>link=Options</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='ConversationDetailsView']/div/div/div/ul/li/ul/li/a/span[2]</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_subject</td>
	<td>Edited Conversation ${randomTitle} - Change Attachments</td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_description</td>
	<td>This is for testing...</td>
</tr>
<tr>
	<td>click</td>
	<td>id=show-more-panels-link-yt0</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=#ConversationItemForm_Account_SelectLink &gt; span</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=AccountsSearchForm_anyMixedAttributes</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=next</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=General Services Corporation</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=#ConversationItemForm_Opportunity_SelectLink &gt; span</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=OpportunitiesSearchForm_anyMixedAttributes</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=OpportunitiesSearchForm_anyMixedAttributes</td>
	<td>s</td>
</tr>
<tr>
	<td>keyUp</td>
	<td>id=OpportunitiesSearchForm_anyMixedAttributes</td>
	<td>\10</td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>No results found.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=OpportunitiesSearchForm_anyMixedAttributes</td>
	<td>e</td>
</tr>
<tr>
	<td>keyUp</td>
	<td>id=OpportunitiesSearchForm_anyMixedAttributes</td>
	<td>\10</td>
</tr>
<tr>
	<td>click</td>
	<td>link=Enterprise Software</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=span.z-label</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=h1</td>
	<td>Edited Conversation ${randomTitle} - Change Attachments</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=General Services Corporation</td>
	<td>General Services Corporation</td>
</tr>
<tr>
	<td>assertText</td>
	<td>link=Enterprise Software</td>
	<td>Enterprise Software</td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.token-input-delete-token</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>//div[@id='NotificationBar']/div/div/span[2]</td>
	<td>Participants updated successfully</td>
</tr>
<tr>
	<td>click</td>
	<td>link=Options</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Edit</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=token-input-ConversationParticipantsForm_item_ids</td>
	<td>jil</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>//*[@id=&quot;token-input-ConversationParticipantsForm_item_ids&quot;]</td>
	<td>Jil</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>//*[@id=&quot;token-input-ConversationParticipantsForm_item_ids&quot;]</td>
	<td>Jil</td>
</tr>
<tr>
	<td>type</td>
	<td>id=token-input-ConversationParticipantsForm_item_ids</td>
	<td>blu</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>//*[@id=&quot;token-input-ConversationParticipantsForm_item_ids&quot;]</td>
	<td>blu</td>
</tr>
<tr>
	<td>typeKeys</td>
	<td>//*[@id=&quot;token-input-ConversationParticipantsForm_item_ids&quot;]</td>
	<td>blu</td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jill Smith</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jason Blue</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=save</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=h1</td>
	<td>Edited Conversation ${randomTitle} - Change Attachments</td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jill Smith</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jason Blue</td>
	<td></td>
</tr>
<!--Edit and Cancel-->
<tr>
	<td>click</td>
	<td>link=Options</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Edit</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=Conversation_subject</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_subject</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=save</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Subject cannot be blank.</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_description</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.token-input-delete-token</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.token-input-delete-token</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Conversation_description</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Cancel</td>
	<td></td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=h1</td>
	<td>Edited Conversation ${randomTitle} - Change Attachments</td>
</tr>
<tr>
	<td>assertText</td>
	<td>css=div.comment-content</td>
	<td>This is for testing...</td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jill Smith</td>
	<td></td>
</tr>
<tr>
	<td>assertTextPresent</td>
	<td>Jason Blue</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
