Problem with UFT and Jenkins…shared OR and function libraries cannot be found?
Question ID: 107812
1
0

I’m unable to figure this one out. I have Jenkins set up to integrate with my UFT instance via the HP Application Automation Tools Plugin (configured to "Execute HP Tests from file system"). My Git repository is specified in the Source Code Management.

Jenkins is able to check out the script and run the test, but my shared object repository and function libraries cannot be found once the script is checked-out. I’ve double-checked by paths in UFT, but something is wrong. When Jenkins reports back the job and UFT has failed, when I check UFT it complains that the paths cannot be found. What am I missing?

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on July 29, 2017 5:54 pm
157 views
Answers (1)
2
Private answer

It sounds like you're trying to use absolute paths, but each time you start a job, Jenkins checks out the code and creates a new workspace instance...your paths to your shared object repository and function libraries are now broken/ineffective. Instead, you should probably set up relative paths for these test resources. Here's a link on how to do it: http://uft-help.saas.hpe.com/en/14.00/UFT_Help/Content/User_Guide/Relative_Paths.htm

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on July 29, 2017 5:54 pm
0
Fantastic. This is exactly what I needed. Thanks!!
( at July 29, 2017 5:55 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top