Image CAPTCHA
Enter the characters shown in the image.

You are here

How to Integrate selenium with QC

4 posts / 0 new
Last post
Jonathan
Jonathan's picture
How to Integrate selenium with QC

We are using QC to record manual test cases and the Test Manager and Project Manager use QC to generate daily and weekly reports of the test progress.

What I want to do is to have test place holders in QC, i.e. test cases with just 1 test step, which might contains the line, something like: 
'run automated selenium test: user_validation_check.java'.

In other words, I want to know if it is possible to trigger the selenium tests from within QC and then capture the pass/fail results back from selenium back in QC.

We are not an Agile house, and our aim is simply to use selenium to automate some of the repetitive and time consuming manual tests for regression.

I Know  about an option to use the COM interface of QC to connect it via selenium.

Cool

jonathan
Anonymous's picture
JUnit plugin

Use the test tool plug-ins, they allow you to run test scripts associated with those tools directly from HP Quality Center. When creating tests within HP QC you will be able to select the test tool from the drop down list of test types. This will then display the appropriate options for each test tool in turn and link directly to the native test script associated with the tool.

Tests can then be executed automatically from within HP QC and the pass/fail results logged within the Test Lab section as well as having the option to store any log files created during the test execution process as attached to the test run instance:)

jonathan
Anonymous's picture
Use the VAPI-XP test to act as a test runner

You can create a VAPI-XP test to act as a test runner for your JUnit test cases.

You could create a script (to run as a build step from Eclipse) that:
1. generates a VAPI-XP test execution script from a template

1. Uploads it to Quality Center using the OTA

The VAPI-XP script would basically just execute an external command that runs %JUNIT% %TEST_CASE% and parses the result for pass/fail.

Then you could run the test from inside Quality Center.

Here's a link explaining how to upload a VAPI-XP Test:
http://h30499.www3.hp.com/t5/Quality-Center-Support-and-News/Uploading-a-test-script-to-VAPI-XP-Tests/td-p/5163366

An another about about creating a TestSet via OTA:
http://h30499.www3.hp.com/t5/Quality-Center-Support-and-News/How-to-create-a-TestSet-in-Quality-Center-using-scripting-and/td-p/5747911

Hears a good description of how to create a VAPI-XP Test:
http://www.ranorex.com/blog/running-ranorex-automated-tests-with-hp-quality-center#Create-a-VAPI-XP-TEST

dgAuto
Anonymous's picture
QC Selenium Integration when VBScript is language

Hi Jonathan,

Can you share any example of VAPI-XP script mentioned below using VBScript when the test case is in Eclipse wherr I usually run it as Junit Test Case ? I am new to Selenium so details will be appreciated.

"The VAPI-XP script would basically just execute an external command that runs %JUNIT% %TEST_CASE% and parses the result for pass/fail."

 

 

Log in or register to post comments

MANUFACTURERS Wallboard

Testing tool manufacturers world-wide list
10Levels ABID CONSULTING AccelQ Accord Software ActiMind AdaCore
AdaLog AgileLoad AgileWay Agitar Algorismi ALL4TEC
Andreas Kleffel Android Apache Apica Apollo Systems AppAssist.mobi
Applitools AppPerfect Appsee ApTest Assertible Assure
Atlassian AutoIt Consulti .. Automation Anyw .. Automation Cons .. Axosoft Aztaz Software
Backtrace I/O Badboy BlazeMeter Borvid BrowserStack BSQUARE
BStriker Intern .. CA Technologies Canonical Canoo Engineeri .. Catch Software CelestialTeapot
Chris Mallett Cleanscape ClicTest CloudQA Codeborne CodeCentrix
CodePlex projec .. Codoid Cogitek Compuware Configure IT Conflair
ConSol Core Services Countersoft CresTech Softwa .. CrossBrowserTes .. Crosscheck Netw ..
Crowdsourced Te .. Cucumber Ltd Cyara Cygnet Infotech DareBoost Databene
Datamatics Glob .. DevExpress DTM soft Dynatrace LLC EasyQA Eclipse
EkaTechserv Elvior Emmanuel Jorge Empirix EPAM Systems Equafy
Esterel Technol .. eXept Software .. Experitest Finaris Froglogic FrontEndART Ltd
GeneXus GitHub project gnoso Google Code Pro .. GrammaTech Gurock Software
HelpSystems HENIX Hewlett Packard .. Hexawise High-Tech Bridg .. Hiptest
Hitex IBM Rational imbus Shanghai Impetus Inflectra informUp
InTENSO - IT Ex .. Ipswitch Jamo Solutions Janova JAR Technologie .. JBoss Developer
jClarity Jellly.io JetBrains Jively jQuery foundati .. JS Foundation
Jspresso Kanoah KMS Technology Kualitee LDRA Limited Litmus
LoadFocus Loadster Perfor .. MarathonITE Marketcircle Marketcircle Maveryx
Meliora Ltd Micro Focus Sof .. Microsoft Mobile Labs Mobile1st Mockaroo, LLC
Monkop Mozila MSys Technologi .. Navicat NeoTys Neowise Softwar ..
NetCart NORIZZK.COM Novosync Mobili .. NRG Global NTT Resonant OC Systems
Odin Technology OpCord Oracle Orcanos Original Softwa .. OW2
PANAYA Parasoft PassMark Patterson Consu .. Perfecto Mobile Pivotal, Inc.
Plutora Postman (API To .. PractiTest PrimaTest Process One Programming Res ..
Psoda PureLoad PushToTest Python Q-Assurance QA Systems
QACube QASymphony QAWorks QMetry Quali Qualitia Softwa ..
Quality First S .. Quotium RadView Softwar .. Ranorex RedLine13 Reflective Solu ..
ReQtest RevDeBug Robotium Tech Rogue Wave Soft .. Rommana Softwar .. RTTS
ruby-doc.org Runscope Sandklef GNU La .. Sauce Labs Seapine Softwar .. SeleniumHQ
Sencha Sensiple Siemens PLM Sof .. SmartBear Softw .. SmarteSoft SOASTA
SoftLogica Softomotive Softsmith Solution-Soft SonarSource Sourceforge
Spirent Technol .. SQS Software Qu .. Square Stimulus Techno .. Swifting AB Synopsys
T-komp T-Plan TechExcel TechTalk Telerik By Prog .. Tellurium
Test Collab Test Goat Test Recon TestCaseLab testCloud.de Gm .. TestCraft Techn ..
Testenium Testim.io TestingBot TestLodge Testmunk Testomato
TestOptimal TestPlant TestPro Testuff The Core Bankin .. The MathWorks
The Open Group thePHP.cc Thoughtbot Thoughtworks Tigris.org Time Simulator
Top-Q Trace Technolog .. TrendIC TRICENTIS Tritusa Pty Ltd TWD Solutions P ..
TypeMock Tyto Software Ubertesters UniTESK Universal Test .. Usetrace Ltd
Utrecht Univers .. Validata Group Vanamco AG Vector Software Veracode Verifaya Corpor ..
Verit VersionOne Viewlike.us Vornex Inc. Watir.com WcfStorm Soluti ..
We Are Mammoth Web Performance .. Wintask Wireshark Found .. Worksoft Xceptance
XK72 Xpand IT XQual ZAPTEST Zeenyx Software .. Zephyr
Zeta Software zutubi pty

Selenium Youtube Playlist

Theme by Danetsoft and Danang Probo Sayekti