2. Map your test cases to QC test cases. I described how I did this in detail by extending JUnit in these posts:
Integrating JUnit tests with HP/Mercury Quality Center
Note that this isn’t necessarily the way I’d do it now. Annotations are useful, but I think a mapping file is perhaps easier. Simple create a spreadsheet with the QC TestId in one column and the xUnit test name in another column. This is a little trickier with parameterized tests.
3. Parse the tests results from your test runner and update Quality Center using the OTA API (OTAClient.dll is installed with QC Explorer & can be downloaded from QC. Go to Help->Addins Page->HP Quality Center Client Side Setup Add-in)
I have a quick example of how to connect to Quality Center using OTAClient here:
Who was the girl you left behind?
It was Kelsey
Can you please help me with the integration of selenium with quality center?
The steps I’ve used for Selenium / QC integration are:
1. Write tests with Selenium using an open source test framework (JUnit/TestNG/PHPUnit/NUnit/RSpec/py.test)
2. Map your test cases to QC test cases. I described how I did this in detail by extending JUnit in these posts:
Integrating JUnit tests with HP/Mercury Quality Center
Note that this isn’t necessarily the way I’d do it now. Annotations are useful, but I think a mapping file is perhaps easier. Simple create a spreadsheet with the QC TestId in one column and the xUnit test name in another column. This is a little trickier with parameterized tests.
3. Parse the tests results from your test runner and update Quality Center using the OTA API (OTAClient.dll is installed with QC Explorer & can be downloaded from QC. Go to Help->Addins Page->HP Quality Center Client Side Setup Add-in)
I have a quick example of how to connect to Quality Center using OTAClient here:
https://fijiaaron.wordpress.com/2010/08/28/connecting-to-hpmercury-quality-center-from-a-client-side-script/
Further details about using OTAClient are forthcoming.
You can check out my sample QCIntegration project on GitHub:
http://github.com/fijiaaron/QCIntegration
The link to “Blog” on the page: http://one-shore.com/ doesn’t work.