[JIRA] (JENKINS-53073) HPLauncher Throws Error (HP PlugIn)

31 views
Skip to first unread message

jim.cook@prudential.com (JIRA)

unread,
Aug 16, 2018, 1:52:03 PM8/16/18
to jenkinsc...@googlegroups.com
Jim Cook created an issue
 
Jenkins / Bug JENKINS-53073
HPLauncher Throws Error (HP PlugIn)
Issue Type: Bug Bug
Assignee: Daniel Gront
Components: hp-application-automation-tools-plugin
Created: 2018-08-16 17:51
Environment: Jenkins (v 2.89.4), HP Test Automation Tools plug-in (v5.1)
Priority: Minor Minor
Reporter: Jim Cook

We’re using the HP Test Automation Tools plug-in to run automated UFT tests from Jenkins. 

Test jobs are initiated from Jenkins Master and execute on Jenkins Agent machines (Windows 7 Desktop).  See the snippet below, from the Jenkins Console log, that shows the HPToolsLauncher command.

 

10:38:51 [OFFPIPELINE_mvp_ioi_regression_test_01_stage2] $ C:\Jenkins\workspace\OFFPIPELINE_mvp_ioi_regression_test_01_stage2\HpToolsLauncher.exe -paramfile props16082018103851125.txt

 

When the logged-in user to the Agent machine is an Admin User the test job runs successfully -> UFT test is launched on the Agent machine, runs to completion and reports results back to Jenkins Master.

 

Whereas, when the logged-in user to the Agent machine is a non-Admin User the test job throws an error:

 

10:38:51 16/08/2018 10:38:51 Running: C:\Jenkins\workspace\OFFPIPELINE_mvp_ioi_regression_test_01_stage2\IOI_PDF_Compare\IOI_PDF_Compare

10:38:51 Test result: Error

10:38:51 16/08/2018 10:38:51 Test complete:

 

The Results file indicates the following:

 

name="C:\Jenkins\workspace\OFFPIPELINE_mvp_ioi_regression_test_01_stage2\IOI_PDF_Compare\IOI_PDF_Compare"><error message="Unable to change DCOM settings. To chage it manually: run dcomcnfg.exe -> My Computer -> DCOM Config -> QuickTest Professional Automation -> Identity -> and select The Interactive Userdetailed error is : Requested registry access is not allowed."/>

 

 

Q:  Are Admin Rights required (for the account under which the UFT test is being executed on the Agent machine) in order to utilize the plug-in?

 

Q:  If not, what must be done to resolve the error?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

daniel.gront@hpe.com (JIRA)

unread,
Aug 20, 2018, 12:44:02 AM8/20/18
to jenkinsc...@googlegroups.com

daniel.gront@hpe.com (JIRA)

unread,
Aug 21, 2018, 4:47:02 AM8/21/18
to jenkinsc...@googlegroups.com
Daniel Gront commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

 Hey Jim Cook, what version of UFT are you using?

daniel.gront@hpe.com (JIRA)

unread,
Aug 21, 2018, 6:01:03 AM8/21/18
to jenkinsc...@googlegroups.com
Daniel Gront assigned an issue to Anda Sorina Laakso
 
Change By: Daniel Gront
Assignee: Daniel Gront Anda Sorina Laakso

jim.cook@prudential.com (JIRA)

unread,
Aug 21, 2018, 8:38:01 AM8/21/18
to jenkinsc...@googlegroups.com
Jim Cook commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

Hi Daniel and Anda:  We are running UFT 12.54.

jim.cook@prudential.com (JIRA)

unread,
Aug 22, 2018, 11:39:03 AM8/22/18
to jenkinsc...@googlegroups.com
Jim Cook updated an issue
 
Change By: Jim Cook
Priority: Minor Major

manjunathec12@gmail.com (JIRA)

unread,
Dec 13, 2019, 6:29:03 AM12/13/19
to jenkinsc...@googlegroups.com
MANJU GL commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

Hi Team,

any updates on this issue?

i have the same problem.

Regards,

Manju

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Dec 13, 2019, 7:47:03 AM12/13/19
to jenkinsc...@googlegroups.com

Did you try to run the command indicated in the result file?

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 3:05:02 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
 
Change By: MANJU GL
Attachment: image-2019-12-16-13-34-05-450.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 3:08:04 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-13-37-21-547.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 3:09:05 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

Hi,

command given in jenkins file is :

c:\jenkins\workspace\TA\HpToolsLauncher.exe -paramfile props13122019112708250.txt

 i executed this command directly in slaves's command prompt, it throws an error- path for paramfile doesn't exist hence I executed the following command with the complete path to paramfile, it's working 

c:\jenkins\workspace\TA\HpToolsLauncher.exe -paramfile c:\jenkins\workspace\TA\props13122019112708250.txt

but if i execute the job from jenkins it won't work, please refer the screenshot below:

 

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 3:10:04 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-13-34-05-450.png

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Dec 16, 2019, 3:47:03 AM12/16/19
to jenkinsc...@googlegroups.com
Anda Sorina Laakso commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

As I see from the pictured attached, you are using "Execute Windows batch command" type of task, not the tasks included in our plugin.
And I was referring to this command:


"Unable to change DCOM settings. To chage it manually: run dcomcnfg.exe -> My Computer -> DCOM Config -> QuickTest Professional Automation -> Identity -> and select The Interactive Userdetailed error is : Requested registry access is not allowed."

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 7:18:02 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-17-47-32-199.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 7:21:02 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-17-50-41-355.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 7:23:03 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

Hi, 

sorry that was the wrong screenshot, as i was also trying to use execute from windows batch command.

its the same error when i execute using the plugin given option :

I checked the dcom settings, it is 'Interactve' user only.

 

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 8:57:05 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-19-26-37-556.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 8:59:03 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL updated an issue
Change By: MANJU GL
Attachment: image-2019-12-16-19-28-03-270.png

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 9:00:02 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL commented on Bug JENKINS-53073
 
Re: HPLauncher Throws Error (HP PlugIn)

Hi, 

I just added opened DCOM config in admin mode and added my user in the configuration permissions of DCOM security

now, its working fine.

 

Regards,

Manju

manjunathec12@gmail.com (JIRA)

unread,
Dec 16, 2019, 9:00:02 AM12/16/19
to jenkinsc...@googlegroups.com
MANJU GL edited a comment on Bug JENKINS-53073
Hi, 

I just
added opened DCOM config in admin mode and added my user in the configuration permissions of DCOM security

now, its working fine.

!image-2019-12-16-19-26-37-556.png|width=345,height=350!   !image-2019-12-16-19-28-03-270.png|width=328,height=141!

Regards,

Manju

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Feb 19, 2020, 9:07:03 AM2/19/20
to jenkinsc...@googlegroups.com
Anda Sorina Laakso closed an issue as Not A Defect
 
Change By: Anda Sorina Laakso
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages