<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Test results are not passing from selenium to spira (Thread)</title><description>&#xD;
Using java driver the test results are not getting passed to Spira. Script is running properly but the results are not passing to spira&#xD;
&#xD;
     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.*;     import org.openqa.selenium.WebDriver;  import org.openqa.selenium.firefox.FirefoxDriver;        @SpiraTestConfiguration(   		 url="https://spiraurl",   		 login="user",   		 password="password",   		 projectId=1,   		 releaseId=1,   		 testSetId=28,   		 runner=RunnerName.Selenium   		 )   @Test(groups={"seleniumtest"})     public class finaltest  {   	 public static WebDriver driver;   	 @Test(groups={"seleniumtest"})   	 @SpiraTestCase(testCaseId=121)   	 public static void main() throws InterruptedException   	 {    		 driver = new FirefoxDriver();   		 driver.get("http://www.google.com");   		 Thread.sleep(10000);   		 if (driver.getTitle().equals("google"))   		 {   			 System.out.println("hai");   		 }else{   			 System.out.println("no");   		 }   		 driver.quit(); 			 } 	   }      as per below mentioned document setup done for testNG:  https://www.inflectra.com/Documents/SpiraTest-Team%20Automated%20Testing%20Integration%20Guide.pdf  under this please refer the section 5.2     could anyone please 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/921.aspx</link><item><guid isPermaLink="false">threadId=921</guid><author>tamilselvan k (tamilselvan.kanagasa@guitarcenter.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">selenium</category><title>Test results are not passing from selenium to spira</title><description>&#xD;
Using java driver the test results are not getting passed to Spira. Script is running properly but the results are not passing to spira&#xD;
&#xD;
     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.*;     import org.openqa.selenium.WebDriver;  import org.openqa.selenium.firefox.FirefoxDriver;        @SpiraTestConfiguration(   		 url="https://spiraurl",   		 login="user",   		 password="password",   		 projectId=1,   		 releaseId=1,   		 testSetId=28,   		 runner=RunnerName.Selenium   		 )   @Test(groups={"seleniumtest"})     public class finaltest  {   	 public static WebDriver driver;   	 @Test(groups={"seleniumtest"})   	 @SpiraTestCase(testCaseId=121)   	 public static void main() throws InterruptedException   	 {    		 driver = new FirefoxDriver();   		 driver.get("http://www.google.com");   		 Thread.sleep(10000);   		 if (driver.getTitle().equals("google"))   		 {   			 System.out.println("hai");   		 }else{   			 System.out.println("no");   		 }   		 driver.quit(); 			 } 	   }      as per below mentioned document setup done for testNG:  https://www.inflectra.com/Documents/SpiraTest-Team%20Automated%20Testing%20Integration%20Guide.pdf  under this please refer the section 5.2     could anyone please help on this? </description><pubDate>Wed, 04 Jun 2014 12:55:28 -0400</pubDate><a10:updated>2014-06-06T03:07:28-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/921.aspx</link></item><item><guid isPermaLink="false">messageId=1687</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 clas</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:07:28 -0400</pubDate><a10:updated>2014-06-06T03:07:28-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/921.aspx#reply1687</link></item></channel></rss>