Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Automating Quick Test Pro with BF

Hi Folks,

I am trying to automate the execution of Quick Test Pro tests with BF.

I have run into an issue that I don't think is a BF issue but I need some guidance.

Background:
I am not a QTP expert. I barely know it.
I am using a sample vb script to leverage the QTP api.

Here's the issue:
1) If I log onto the test machine and run the vb script from the command line, everything works.
2) If I have BF launch the same script through the agent , I get an error from QTP that seems to indicate that QTP doesn't like who I'm logged in as.
3) the use for both steps 1 and 2 is the same.


My questions are:

1) When an agent logs in to a remote machine, what "kind" of log in is it? Are their different types of long ons for windows? Interactive, etc.

2) If I run a "whoami" from the BF step, it returns <DOMAIN>\cmbuild
That's the user I am using for the server auth.

This means any command run as part of the BF step runs in the context of that user right?


3) has anyone automated QTP with BF?

Thanks

Andy

0 votes



One answer

Permanent link
Hi Folks,

I am trying to automate the execution of Quick Test Pro tests with BF.

I have run into an issue that I don't think is a BF issue but I need some guidance.

Background:
I am not a QTP expert. I barely know it.
I am using a sample vb script to leverage the QTP api.

Here's the issue:
1) If I log onto the test machine and run the vb script from the command line, everything works.
2) If I have BF launch the same script through the agent , I get an error from QTP that seems to indicate that QTP doesn't like who I'm logged in as.
3) the use for both steps 1 and 2 is the same.


My questions are:

1) When an agent logs in to a remote machine, what "kind" of log in is it? Are their different types of long ons for windows? Interactive, etc.

2) If I run a "whoami" from the BF step, it returns <DOMAIN>\cmbuild
That's the user I am using for the server auth.

This means any command run as part of the BF step runs in the context of that user right?


3) has anyone automated QTP with BF?

Thanks

Andy


Hi Andy,

I've never used QTP, but I'm wondering if you're trying to run some GUI application (perhaps drive a browser for UI testing). If so, you should look into whether your agent has been installed with the 'User Mode' option selected. User mode does add some auth considerations that you'll need to watch for (see this post in a previous Build Forge forum).

Brent Ulbricht
RTC Build Lead

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 11 '11, 4:57 p.m.

Question was seen: 3,993 times

Last updated: Aug 11 '11, 4:57 p.m.

Confirmation Cancel Confirm