RQM and Selenium integration
Hi Collegues,
With the above integration I get the message: 19:42:13,621 [main] INFO com.ibm.rqm.adapter.library - Successfully created an HTTP client 19:42:13,886 [main] INFO com.ibm.rqm.adapter.library - The adapter is now connected 19:42:14,229 [main] INFO com.ibm.rqm.adapter.library - Resolved project area named "JKE Banking (Quality Management)" to alias: JKE+Banking+%28Quality+Management%29. 19:42:14,697 [main] INFO com.ibm.rqm.adapter.commandline - Created JUnit Selenium Adapter 19:47:21,706 [Thread-2] ERROR com.ibm.rqm.adapter.commandline - Failed to read serialized JUnit report object: null Execution result will not contain step results for individual JUnit tests. This is produced after the test was started. Meaning I've got a TC, TS and a connected adapter. I also have a class file. I was wondering also, in the TS I've placed the name of the class-file as test-class, without the .class extention and without any directory in front of it. Class file is located in the 'home' directory of the adapter, where the RQM adapter start.bat is located. Any idea's? What other information can I provide? Thanks, Marc |
3 answers
Hey Marc,
In the Test Class field you should specify the name of the class that runs your JUnit test, ie. something like com.example.tests.AllSeleniumTests. What do you have specified in the Classpath field? It should specify any classpath values required to find all your .class files, ie. something like /home/tneal/workspaces/Selenium/SeleniumJUnit/bin. If you need to specify multiple components in the classpath be sure to separate them with the correct separator character for the platform where the JUnit Selenium adapter is running. ie. ';' for Windows and ':' for Linux/Unix. Did you get any errors/messages in the execution result that give more info about the failure? --tom |
Yes - the final answer.. :-)
Use the manual, use the developerWorks article. Most important the dir command piped to a file gives \ characters. The characters to use in the properties file is / . A piece of the correct working properties file is: # All classpath entries required to execute a Selenium WebDriver JUnit testcase. # This must be set before any Selenium tests can be executed by the adapter. # Be certain to use the correct separator character for the platform running this # adapter. ie. ';' for Windows and ':' for Linux com.ibm.rqm.selenium.seleniumClasspath=C:/Selenium/selenium-java-2.28.0/selenium-2.28.0/libs/apache-m.... Now can every Selenium user make use of a great Rational Test Management environment! Thanks Neal. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.