Micro Focus QTP (UFT) Forums

Full Version: Jenkins Integration Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when i called API Automation through Jenkins.
everytime run time error of license occurred. 
PFB error log:

E:\EDC Card Services
============================================================================
28/04/2017 16:30:23 Running: E:\EDC Card Services
Test is executing
Test is completed
Error: A runtime license cannot be found
Test result: Error
28/04/2017 16:31:09 Test complete: E:\EDC Card Services
-------------------------------------------------------------------------------------------------------
================================================
Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1
Error  : E:\EDC Card Services
================================================
Build step 'Execute HP tests from file system' changed build result to FAILURE
Report archiving mode is set to: ONLY_ARCHIVE_FAILED_TESTS_REPORT
Finished: FAILURE
Hi Sagar,

Are you running your scripts with UFT/QTP through Jenkins? Do let me know your inputs. Just to cross check, hope you have required Jenkins Plugins.
(05-16-2017, 05:16 PM)hi,Did you get any solution for this problem? i am also facing this problem.Thanks Sagar Sheth Wrote: [ -> ]when i called API Automation through Jenkins.
everytime run time error of license occurred. 
PFB error log:

E:\EDC Card Services
============================================================================
28/04/2017 16:30:23 Running: E:\EDC Card Services
Test is executing
Test is completed
Error: A runtime license cannot be found
Test result: Error
28/04/2017 16:31:09 Test complete: E:\EDC Card Services
-------------------------------------------------------------------------------------------------------
================================================
Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1
Error  : E:\EDC Card Services
================================================
Build step 'Execute HP tests from file system' changed build result to FAILURE
Report archiving mode is set to: ONLY_ARCHIVE_FAILED_TESTS_REPORT
Finished: FAILURE
(05-31-2017, 01:57 PM)krr Wrote: [ -> ]Hi Sagar,

Are you running your scripts with UFT/QTP through Jenkins? Do let me know your inputs. Just to cross check, hope you have required Jenkins Plugins.
Hello krr.
I am facing this same issue. and yes I am running my script through Jenkins. I am able to run ui test through Jenkins but I am getting "A runtime license cannot be found" error when I am running a API test. Kindly provide some guidelines to move forward.