<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: RemoteLaunch and Selenium 2 (Thread)</title><description> &#xD;
&#xD;
&#xD;
Hi All,  I've created an automated test case in Spirateam, setting:  "Selenium 2" as Automation Engine  Java Selenium script path in the Filename.  When I run it, I get an error:   Exception:   The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type.    Stack Trace:     at Inflectra.RemoteLaunch.Engines.Selenium2.SeleniumEngine.StartExecution(AutomatedTestRun4 automatedTestRun, Int32 projectId)     at Inflectra.RemoteLaunch.Business.RunTestThread.Execute()    Does anyone has a simple example on how to setup and run a Selenium 2 test case?  I'm using RemoteLaunch windows application (not RemoteLaunchX) and I've already installed the proper Selenium addon.  In the user manual, there's only one example related to Selenium RC.   Thank you. </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx</link><item><guid isPermaLink="false">threadId=1430</guid><author>Mauro Biffi (mauro.biffi@nielsen.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">selenium</category><title>RemoteLaunch and Selenium 2</title><description> &#xD;
&#xD;
&#xD;
Hi All,  I've created an automated test case in Spirateam, setting:  "Selenium 2" as Automation Engine  Java Selenium script path in the Filename.  When I run it, I get an error:   Exception:   The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type.    Stack Trace:     at Inflectra.RemoteLaunch.Engines.Selenium2.SeleniumEngine.StartExecution(AutomatedTestRun4 automatedTestRun, Int32 projectId)     at Inflectra.RemoteLaunch.Business.RunTestThread.Execute()    Does anyone has a simple example on how to setup and run a Selenium 2 test case?  I'm using RemoteLaunch windows application (not RemoteLaunchX) and I've already installed the proper Selenium addon.  In the user manual, there's only one example related to Selenium RC.   Thank you. </description><pubDate>Thu, 31 Mar 2016 16:19:45 -0400</pubDate><a10:updated>2016-04-13T14:37:29-04:00</a10:updated><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx</link></item><item><guid isPermaLink="false">messageId=2597</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
Hi Mauro&#xD;
&#xD;
    As described in this KB Articles you cannot use the Selenium2 plugin to run Java s</title><description>&#xD;
Hi Mauro&#xD;
&#xD;
    As described in this KB Articles you cannot use the Selenium2 plugin to run Java scripts, you can only use that for Selenium IDE style scripts (HTML format):     KB148 - Running Selenium WebDriver Scripts using RemoteLaunch and TestNG    KB140 - Running Selenium WebDriver Scripts using RemoteLaunch and JUnit     Regards     Sarah </description><pubDate>Fri, 01 Apr 2016 21:36:34 -0400</pubDate><a10:updated>2016-04-01T21:36:34-04:00</a10:updated><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx#reply2597</link></item><item><guid isPermaLink="false">messageId=2601</guid><author>Mauro Biffi (mauro.biffi@nielsen.com)</author><title> &#xD;
&#xD;
&#xD;
Thank you Sarah.  The two links/methods you've posted use the Command Line option in Automati</title><description> &#xD;
&#xD;
&#xD;
Thank you Sarah.  The two links/methods you've posted use the Command Line option in Automation Engine .  Could you please clarify how to use the Selenium 2 Automation Engine?  Thank you very much in advance. </description><pubDate>Mon, 04 Apr 2016 14:10:13 -0400</pubDate><a10:updated>2016-04-04T14:10:13-04:00</a10:updated><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx#reply2601</link></item><item><guid isPermaLink="false">messageId=2605</guid><author>Mauro Biffi (mauro.biffi@nielsen.com)</author><title> Dears,  is it possible to know how to use Selenium 2 Automation Engine?  Thank you. </title><description> Dears,  is it possible to know how to use Selenium 2 Automation Engine?  Thank you. </description><pubDate>Mon, 11 Apr 2016 17:14:13 -0400</pubDate><a10:updated>2016-04-11T17:14:13-04:00</a10:updated><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx#reply2605</link></item><item><guid isPermaLink="false">messageId=2606</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>&#xD;
Hi Mauro  To be clear, the Selenium (1 or 2) automation engines are designed to run tests written </title><description>&#xD;
Hi Mauro  To be clear, the Selenium (1 or 2) automation engines are designed to run tests written in pure Selenese,  not using Java, Python, Ruby, .NET, etc. .  So the script needs to be written in either the special Spira 'pipe' format:  &#xD;
&#xD;
&#xD;
&#xD;
 open||http://www.google.com/webhp &#xD;
&#xD;
 assertTitle||Google &#xD;
&#xD;
 type|q|${query} &#xD;
&#xD;
 click|btnG &#xD;
&#xD;
 waitForPageToLoad||5000 &#xD;
&#xD;
 isTextPresent||${matchtext} &#xD;
&#xD;
&#xD;
&#xD;
  or the standard Selenium IDE HTML table format.  &#xD;
&#xD;
&#xD;
   &#xD;
&#xD;
    open   &#xD;
&#xD;
   &#xD;
&#xD;
   &#xD;
&#xD;
    http://www.google.com/webhp&#xD;
&#xD;
   &#xD;
&#xD;
  &#xD;
&#xD;
    assertTitle  &#xD;
&#xD;
   &#xD;
&#xD;
   &#xD;
&#xD;
    Google  &#xD;
&#xD;
  &#xD;
&#xD;
   &#xD;
    type  &#xD;
&#xD;
   &#xD;
    q  &#xD;
&#xD;
   &#xD;
    ${query}  &#xD;
&#xD;
  &#xD;
&#xD;
   &#xD;
    click  &#xD;
&#xD;
   &#xD;
    btnG  &#xD;
&#xD;
   &#xD;
&#xD;
   &#xD;
&#xD;
  &#xD;
&#xD;
    waitForPageToLoad  &#xD;
&#xD;
   &#xD;
&#xD;
   &#xD;
&#xD;
    5000  &#xD;
&#xD;
  &#xD;
&#xD;
   &#xD;
    isTextPresent  &#xD;
&#xD;
   &#xD;
&#xD;
   &#xD;
&#xD;
    ${matchtext}  &#xD;
&#xD;
  &#xD;
&#xD;
&#xD;
  Also a new option would be to write them using the new WebDriver object that is built into Rapise:   https://www.inflectra.com/Documents/Using_Rapise_With_Selenium_For_Web_Testing.pdf    Regards  Adam &#xD;
&#xD;
</description><pubDate>Wed, 13 Apr 2016 14:37:29 -0400</pubDate><a10:updated>2016-04-13T14:37:29-04:00</a10:updated><link>/Support/Forum/remotelaunch/automation-engines/1430.aspx#reply2606</link></item></channel></rss>