- Version 1.5 Info
- January 9, 2011
- Released under BSD License
About this Add-on
Selenium XML Formatter is a custom XML Formatter for Selenium-IDE.
Compliant with Selenium command & comment syntax, this formatter output data in a very common language. This way, you can easily parse the test case in your favorite programming language.
This format is compatible with both Selenium IDE tabs : Table & Source !
You can copy selenese into the clipboard or even full test case in XML.
Output example:
<?xml version="1.0" encoding="UTF-8"?>
<TestCase seleniumIDEVersion="1.0.7" baseURL="http://mywebsite/">
<selenese>
<command>open</command>
<target><![CDATA[/?p=1337]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>assertTextPresent</command>
<target><![CDATA[future success]]></target>
<value><![CDATA[]]></value>
</selenese>
<!--this is a selenium comment-->
<selenese>
<command>clickAndWait</command>
<target><![CDATA[link=companies]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>type</command>
<target><![CDATA[inputSearch]]></target>
<value><![CDATA[awesome]]></value>
</selenese>
</TestCase>
Compliant with Selenium command & comment syntax, this formatter output data in a very common language. This way, you can easily parse the test case in your favorite programming language.
This format is compatible with both Selenium IDE tabs : Table & Source !
You can copy selenese into the clipboard or even full test case in XML.
Output example:
<?xml version="1.0" encoding="UTF-8"?>
<TestCase seleniumIDEVersion="1.0.7" baseURL="http://mywebsite/">
<selenese>
<command>open</command>
<target><![CDATA[/?p=1337]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>assertTextPresent</command>
<target><![CDATA[future success]]></target>
<value><![CDATA[]]></value>
</selenese>
<!--this is a selenium comment-->
<selenese>
<command>clickAndWait</command>
<target><![CDATA[link=companies]]></target>
<value><![CDATA[]]></value>
</selenese>
<selenese>
<command>type</command>
<target><![CDATA[inputSearch]]></target>
<value><![CDATA[awesome]]></value>
</selenese>
</TestCase>
0 komentar:
Posting Komentar