Source

zurmo / app / protected / modules / notes / tests / functional / cases / CreateNotesWIthAttachmentForAccounts.html

The branch 'ui0.8' does not exist.
Full commit
<?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>Notes Attach Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
	<td>storeGlobal</td>
	<td>javascript{Math.floor(Math.random()*11000)}</td>
	<td>randomSuffix</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='MenuView']/ul/li[2]/a/span[2]</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=a.icon-create</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Account_name</td>
	<td>My Account ${randomSuffix}</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>id=save</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=show-more-panels-link-yt3</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=Note_description</td>
	<td>test</td>
</tr>
<tr>
	<td>type</td>
	<td>id=Note_files</td>
	<td>C:\Inetpub\selenium\zurmo_bleeding\app\protected\modules\notes\tests\functional\files\testNotes.txt</td>
</tr>

<!-- assert whether delete button has appeared or not-->
<tr>
	<td>assertVisible</td>
	<td>//div[@id='fileUploadyw1']/div[3]/table/tbody/tr/td[3]/button</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=span.z-label</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>id=save</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>testNotes.txt</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>