It's all about the answers!

Ask a question

Running HP QTP Scripts via RQM - Required Server Configurations


anoop mc (74811194221) | asked Jan 07 '13, 3:54 a.m.
edited Nov 21 '13, 2:29 p.m. by Lisa Caten (342913)
 Hi,

We are planning to install the QTP Adapters for running the scripts via RQM. Please let me know your suggestion before proceeding.

RQM Version: 2.0.1 iFIX5
QTP Adapter Version: RQM-QTP-9.x-Adapter-v2.0.0.3
QTP Server Version: 10.0
Platform: Windows Server

Having gone through the readme.txt file and below are the steps being followed.

We have downloaded the adapter from Jazz.net and after extracting the .ZIP file it contains 3 files.

extracting_qtp_adapter

################################################################

Steps : ( Installation to be performed on RQM Server)

1. Copy "QTPAdapterWebUI.zip" to an install location and unzip it (e.g. c:\). This ZIP archive contains a com.ibm.rqm.adapter.qtp.web.update    directory and a com.ibm.rqm.adapter.qtp.web.ini file. 

2. Find com.ibm.rqm.adapter.qtp.web.ini file in the zip archive extract. Edit the file, changing the "URL" property in the .ini file, to point to the   location where the com.ibm.rqm.adapter.qtp.web.update directory is located and then save the .ini file. 

  For example:
  url=file:C:/com.ibm.rqm.adapter.qtp.web.update 
  featureid=com.ibm.rqm.adapter.qtp.web.feature 
  Note: Use forward slash (/) for file separator as shown above. 

3. Copy the modified com.ibm.rqm.adapter.qtp.web.ini file to <RQM install root> "c:\Program Files (x86)\IBM\RQM201\server".

4. Use the Rational Quality Manager Server Reset service to update the server configuration. The reset utility is found at the following URL: 
   https://<hostname>:<portnumber>/jazz/admin?internal#action=com.ibm.team.repository.admin.serverReset

   The service will prompt you to login to the IBM Rational Quality Manager Admin console. Note: the user ID must have administrator privileges.

5. Restart Rational Quality Manager server.

#########################################################################################

Steps : ( Installation to be performed on QTP Server)

1. Extract the QTPAdapterInstaller.zip file

2. Before Installing QTPAdapter manually make sure that the ZIP archive file (“QTPAdapterInstaller.zip”) has the following content.
QTPAdapter.zip
InstallQTPAdapter.vbs
ManualInstallationForQTPAdapter.doc

3. Extract the “QTPAdapter.zip” to a location where you want to have the QTP adapter installed, for example in “C:\QTPAdapterHome”.  This will create    a directory “QTPAdapter” at the selected location. (“C:\QTPAdapterHome\QTPAdapter” referred to as <Install Home> henceforth).

4. Set JAVA_HOME in <Install Home>\bin\launchQTPAdapterConsole.bat file to point to Java 1.5 (IBM or Sun JRE 1.5) or later versions installed on the    host machine. 

   For example add the following line in “launchQTPAdapterConsole.bat” file: 
   set JAVA_HOME=C:\Program Files\IBM\Java50\jre

5. Add following lines at the beginning of <Install Home>\bin\scriptRunner.vbs file: 

        Dim qtpInstallHome 
        qtpInstallHome = <Quick Test Professional Installation Root> 

   For example, add the following lines in <Install Home>\bin\scriptRunner.vbs file: 

   Dim qtpInstallHome 
   qtpInstallHome = "c:\Program Files (x86)\HP\QuickTest Professional"
 
6. Create shortcuts on the Desktop and Start Menu for <Install Home>\bin\launchQTPAdapterConsole.bat

7. Run launchQTPAdapterConsole.bat from command-prompt or double click “launchQTPAdapterConsole.bat” file to start the adapter.

Regards
Anoop

16 answers



permanent link
anoop mc (74811194221) | answered Jan 10 '13, 6:18 a.m.
 Hi,

As I suspect I did login with the same account which I have used while configuring the QTP Adapter.

Still nothing seem to be listing.

no adapters using same account

Comments
Reshma Ratnani commented Jan 11 '13, 12:06 a.m.
JAZZ DEVELOPER

Can you try this -

Start a command line adapter and connect to RQM server and attach a screenshot of what happens.

Also have you  given permissions to create Lab resource and Save adapter to the user who is logging in via the adapter?


permanent link
anoop mc (74811194221) | answered Jan 10 '13, 12:56 a.m.
 Another doubt I have is --

Should we need a dedicated account for running the QTP scripts ? ( from RQM) 

Or 

Using any account having Jazz Admin privilege, can we execute these scripts ? ( from RQM) 

permanent link
anoop mc (74811194221) | answered Jan 10 '13, 12:40 a.m.
 Are you able to see the registered adapter in the Adapter console of Quality Manager project area?   No I don't see any adapter.

The QuickTest Professional 9.X adapter 2.0.0.3 is a similar  adapter like CLA 

It gives the status as 

14:51:22,053 [main]  INFO com.ibm.rqm.adapter.library                        - Launched the Adapter console
14:51:38,101 [AWT-EventQueue-0]  INFO com.ibm.rqm.adapter.library                        - Successfully created an HTTP client
14:51:38,444 [AWT-EventQueue-0]  INFO com.ibm.rqm.adapter.library                        - The adapter is now connected
14:51:38,632 [AWT-EventQueue-0]  INFO com.ibm.rqm.adapter.qtp                            - Created Quick Test Professional Adapter 2.0.0.3




permanent link
Reshma Ratnani (1.1k1) | answered Jan 09 '13, 11:53 p.m.
JAZZ DEVELOPER
Hi Anoop.

Are you able to see the registered adapter in the Adapter console of Quality Manager project area?

If not, then start a command line adapter with this user name and check if you are able to see that adapter in Adapter Console in the project area.

permanent link
anoop mc (74811194221) | answered Jan 09 '13, 9:41 a.m.
 Hi,

We are facing an issue wr to configuration.

As the first step we have started the QTP adapter from the QTP server. which says successful

qtp adapter

Secondly we created a new test script in RQM and when clicked the button Select Adapter it does not show anything 

no adapter

permanent link
anoop mc (74811194221) | answered Jan 08 '13, 11:55 a.m.
 Hi,

Finally we are done with the installation and next is the configuration part. Please refer to the screen shots below and after the final step the QTP Adapter will be started from the server ( QTP Server) and parallel to that we have to open the RQM and map to the QTP script path.

My question is after starting the adapter from the QTP server should we leave the server in a connected state or is there a way to make QTP service run as a windows service. Because once we disconnect from the server session the adapter also stops

Configuring QTP Adapter Part1


Configuring QTP Adapter Part2

Your answer


Register or 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.