Commit ee868b10 authored by Fabien Morin's avatar Fabien Morin

2008-10-01 fabien

* redefine Selenium.prototype.doType function in user-extensions.js. This is made to be able to test file upload.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23932 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd03af82
......@@ -11,24 +11,12 @@
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts73479596.95</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
<value> <string>ts22862605.97</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>user-extensions.js</string> </value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/x-javascript</string> </value>
......@@ -86,6 +74,13 @@ Selenium.prototype.assertPortalStatusMessage = function(text) {\n
Assert.matches(text, actualValue);\n
};\n
\n
\n
Selenium.prototype.doType = function(locator, newText) {\n
netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");\n
var element = this.page().findElement(locator);\n
this.page().replaceText(element, newText);\n
};\n
\n
]]></string> </value>
......@@ -96,7 +91,7 @@ Selenium.prototype.assertPortalStatusMessage = function(text) {\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1679</int> </value>
<value> <int>1917</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
2008-10-01 fabien
* redefine Selenium.prototype.doType function in user-extensions.js. This is made to be able to test file upload.
2008-08-29 yusei
* Replace N_ with translateString.
......
394
\ No newline at end of file
396
\ 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