Site icon Vinsguru

QTP/UFT – Jenkins & GitHub / SVN Integration

I get many comments from the readers to include a post on Jenkins-QTP-Source control integration & issues they are facing while trying to implement Jenkins-QTP console output which this post talks about. In this post, I would like to show how we can configure Jenkins to fetch the automated test scripts from the source control system like SVN/Github & showing the test case details in the Jenkins console. You can use any Source Control System like perforce. The idea is same. Ensure that you have Jenkins plugin is installed.

Sample QTP/UFT Script:

I am going to create a very simple QTP test script as shown below which launches a website in IE and check if an object is present or not. [I have uploaded the script in GitHub. You can download the script and play with it]

GitHub:

SVN:

You can also use Visual SVN Server which is FREE if you do not want to share your script in GitHub. 

Jenkins-SVN Integration:

 

 

 

 

 

 

Happy Testing 🙂

 

Share This:

Exit mobile version