Want to link Selenium, JUnit + other tools to QC?
I've been browsing the HP QC groups and I've seen a couple of discussions regarding having the ability to integrate Selenium and other test tools to QC so that tests which are executed from their native test scripts can automatically update QC with the pass/fail results along with any log files, etc in the QC test lab.
I've been working on a development project of my own which is due to be completed in the next couple of months. The development project enables this type of functionality for a whole host of open source tools such as Selenium, Watir, JUnit, HTTPUnit, Sahi and so on.
The project is a Java appilication which exposes the OTA foundation classes provided by HP such that the core set of Java classes I have written can call the appropriate OTA methods in order to login to a QC project, create entities such as releases, release cycles, requirements, test cases, tests runs, defects as well as manage any attachements and linkages between those project entities. Also the entities can be exported to CSV files or imported from CSV files for all areas including releases, reqs, tests, test runs, defects, etc within the Java app.
The QC Excel plug-in/add-in is designed specifically for requirements, test cases & defects which also when used removes any linkages between those entities from the project in QC which can be extremely frustrating for large projects that have a number of linkages between say requirements and test cases as I have found during my
time using the QC system, hence the need to have another method of doing this.
As far as test tools go the app will allow you to import test cases from their native format on disk into the system and provide various options to automatically create test cases and test plans, including links to requirements, etc. The test execution will create the appropriate entities within the test lab and store the pass/fail result along with any log files as attachments and if desired defects can be automatically raised upon test failures.
The aim of the project was to provide a platform independent way of accessing the core functionality within QC via OTA and to enhance key areas of the testing life cycle so that information could be pushed and pulled automatically between the java app (client) and the core QC system.
Part of my time in testing has been spent in screened rooms testing mobile network and handset functionality which means you invariably cannot access systems such as QC whilst performing the tests themselves (due to network restrictions) so a large amount of time was wasted duplicating the test results and raising defects after the tests had been ran. I wanted a way of capturing the test information as it happened and then at a click of a button synchronising that with the appropriate QC project once outside of the test environment in order to share the test metrics with the rest of the organisation, hence the birth of the app I have written.
If any of the above is of interest to you and you want to know more then please get in touch as I'm keen to see if there are others who would benefit from this type of app?
Re: Want to link Selenium, JUnit + other tools to QC?
I have just released my website which details more about the above please follow the link below to get to it: