<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Selenium RC not passing the test results to Spira (Thread)</title><description>From selenium RC the test results are not passing to Spira. As per below mentioned document section 5.2 i have created folder structer and script:     package com.inflectra.spiratest.addons.testnglistener.samples;  import com.inflectra.spiratest.addons.testnglistener.*;  import org.testng.annotations.*;  import static org.testng.AssertJUnit.*;   import com.thoughtworks.selenium.*;    @SpiraTestConfiguration(   		 url="https://spiraurl",   		 login="user",   		 password="password",   		 projectId=6,   		 releaseId=10,   		 testSetId=268,   		 runner=RunnerName.Selenium   		 )   @Test(groups={"seleniumtest"})   public class finaltest   {    private Selenium selenium;       @BeforeClass    public void setUp()    {    //Instantiate the selenium Java proxy    String url = "http://www.google.com";    selenium = new DefaultSelenium("localhost", 4444, "*iexplore", url);    selenium.start();    }       @AfterClass    protected void tearDown()    {    selenium.stop();    }       // Sample test that searches on Google, passes correctly    @Test(groups={"seleniumtest"})    @SpiraTestCase(testCaseId=11)    public void testGoogle()    {    //Opens up Google    selenium.open("http://www.google.com/webhp?hl=en");       //Verifies that the title matches    assertEquals("Google", selenium.getTitle());    selenium.type("q", "Selenium OpenQA");       //Verifies that it can find the Selenium website    assertEquals("Selenium OpenQA", selenium.getValue("q"));    selenium.click("btnG");    selenium.waitForPageToLoad("5000");    assertEquals("Selenium OpenQA - Google Search", selenium.getTitle());    }   }      script is running properly but the results are not getting updated     Could anyone help on this? </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/spiratest/issues-questions/922.aspx</link><item><guid isPermaLink="false">threadId=922</guid><author>tamilselvan k (tamilselvan.kanagasa@guitarcenter.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">selenium</category><title>Selenium RC not passing the test results to Spira</title><description>From selenium RC the test results are not passing to Spira. As per below mentioned document section 5.2 i have created folder structer and script:     package com.inflectra.spiratest.addons.testnglistener.samples;  import com.inflectra.spiratest.addons.testnglistener.*;  import org.testng.annotations.*;  import static org.testng.AssertJUnit.*;   import com.thoughtworks.selenium.*;    @SpiraTestConfiguration(   		 url="https://spiraurl",   		 login="user",   		 password="password",   		 projectId=6,   		 releaseId=10,   		 testSetId=268,   		 runner=RunnerName.Selenium   		 )   @Test(groups={"seleniumtest"})   public class finaltest   {    private Selenium selenium;       @BeforeClass    public void setUp()    {    //Instantiate the selenium Java proxy    String url = "http://www.google.com";    selenium = new DefaultSelenium("localhost", 4444, "*iexplore", url);    selenium.start();    }       @AfterClass    protected void tearDown()    {    selenium.stop();    }       // Sample test that searches on Google, passes correctly    @Test(groups={"seleniumtest"})    @SpiraTestCase(testCaseId=11)    public void testGoogle()    {    //Opens up Google    selenium.open("http://www.google.com/webhp?hl=en");       //Verifies that the title matches    assertEquals("Google", selenium.getTitle());    selenium.type("q", "Selenium OpenQA");       //Verifies that it can find the Selenium website    assertEquals("Selenium OpenQA", selenium.getValue("q"));    selenium.click("btnG");    selenium.waitForPageToLoad("5000");    assertEquals("Selenium OpenQA - Google Search", selenium.getTitle());    }   }      script is running properly but the results are not getting updated     Could anyone help on this? </description><pubDate>Wed, 04 Jun 2014 13:03:41 -0400</pubDate><a10:updated>2017-11-27T14:31:23-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx</link></item><item><guid isPermaLink="false">messageId=1688</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>&#xD;
&#xD;
&#xD;
Hi Tamilselvan You need to make sure that you have included the SpiraTest listener Java class </title><description>&#xD;
&#xD;
&#xD;
Hi Tamilselvan You need to make sure that you have included the SpiraTest listener Java class as a listener in the TestNG configuration.  If you need help on doing that, send us a help desk ticket.  Regards  Adam </description><pubDate>Fri, 06 Jun 2014 03:08:32 -0400</pubDate><a10:updated>2014-06-06T03:08:32-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx#reply1688</link></item><item><guid isPermaLink="false">messageId=1689</guid><author>tamilselvan k (tamilselvan.kanagasa@guitarcenter.com)</author><title>&#xD;
Hi Adam,  As mentioned  included the SpiraTest listener Java class as a listener in the TestNG con</title><description>&#xD;
Hi Adam,  As mentioned  included the SpiraTest listener Java class as a listener in the TestNG configuration. I just downloaded the  SpiraTest TestNG Listener compressed archive (.zip) from download add-ons page and executed the selenium Test.java using seleniumtests.xml under samples folder. In SeleniumTest.java file i have modified the spira configuration(url, user, login, etc) as per my credentials. I have created the sample test case in spira for this. But the results are not getting updated into spira. And also i have added the class path for TestNGListener.jar file as mentioned in the document https://www.inflectra.com/Documents/SpiraTest-Team%20Automated%20Testing%20Integration%20Guide.pdf   Please let me know any other setup needs to be done in spira side as well in TestNG folder structure/configuration.  Here i attached the project explore screenshot for your reference, could you please look into this issue.     &#xD;
</description><pubDate>Fri, 06 Jun 2014 11:51:31 -0400</pubDate><a10:updated>2014-06-06T11:51:31-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx#reply1689</link></item><item><guid isPermaLink="false">messageId=1690</guid><author>tamilselvan k (tamilselvan.kanagasa@guitarcenter.com)</author><title>     &#xD;
&#xD;
</title><description>     &#xD;
&#xD;
</description><pubDate>Fri, 06 Jun 2014 11:56:29 -0400</pubDate><a10:updated>2014-06-06T11:56:29-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx#reply1690</link></item><item><guid isPermaLink="false">messageId=1691</guid><author>tamilselvan k (tamilselvan.kanagasa@guitarcenter.com)</author><title>&#xD;
In Spira the Selenium RC automation engine is active only. &#xD;
&#xD;
</title><description>&#xD;
In Spira the Selenium RC automation engine is active only. &#xD;
&#xD;
</description><pubDate>Fri, 06 Jun 2014 12:01:07 -0400</pubDate><a10:updated>2014-06-06T12:01:07-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx#reply1691</link></item><item><guid isPermaLink="false">messageId=3163</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> For those having the same problem, here was the solution   Thanks for sending the XML file, it does</title><description> For those having the same problem, here was the solution   Thanks for sending the XML file, it does not include the necessary listener.  As described in ( http://testng.org/doc/documentation-main.html#listeners-testng-xml ) please add the following to the XML file:       
     

      Regards  Adam          </description><pubDate>Mon, 27 Nov 2017 14:31:23 -0500</pubDate><a10:updated>2017-11-27T14:31:23-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/922.aspx#reply3163</link></item></channel></rss>