This example tells you how to integrate Hudson with Selunit. Selunit can be used to execute Selenium tests directly from Selenium IDE in Hudson builds and using Hudson reporting capabilities provided for JUnit, where Selunit transforms Selenium reports to. The goal is to point out a comprehensive solution beginning with a convenient way creating and maintaining tests using Sel IDE, running them concerning multiple browsers/environments and finally monitoring and analyzing reports in Hudson.
The typeKeys doesn’t type the ‘dot’ in the text we are entering:
selenium.typeKeys(“assigned_to”, “seleniumwiki.com”);
Your output will be seleniumcom and not selenium.com. The “dot” is missing. This is happening with both Selenium RC and Selenium IDE.
Here is another issue with typeKeys
selenium.typeKeys(“id=username”, “TypeKeys”);
Your output will be “TpeKes” in the textfield. The “Y” is stripped out.
When use “typeKeys” to type “y”, it will active “file” menu in firefox.
Other characters are all OK.
Here is an example <a id=”ctl00_contentSection_ViewSeleniumWiki” target=”_blank” href=”http://www.seleniumwiki.com”>View Selenium Wiki</a>
If you use selenium IDE to click on the link you will get the error message : Link has target ‘_blank’, which is not supported in Selenium! Randomizing target to be:
Here is an error that I got when I executed the following verifyXpathCount command
<tr>
<td>verifyXpathCount</td>
<td>xpath=//span[@id='ctl00_contentSection_GoogleAFSRight']/div/div[@class='SingleVertical']/a[@class='Heading' and @href]</td>
<td>4</td>
</tr>
Automate Firefox. Record and replay repetitious work. If you love the Firefox web browser, but are tired of repetitive tasks like visiting the same sites every days, filling out forms, and remembering passwords, then iMacros for Firefox is the solution you’ve been dreaming of!