Running HP QTP Scripts via RQM - Required Server Configurations
![]()
anoop mc (748●11●200●221)
| asked Jan 07 '13, 3:54 a.m.
edited Nov 21 '13, 2:29 p.m. by Lisa Caten (342●9●13)
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.
![]()
################################################################
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
![]()
Can’t we create dedicated adaptor console for each project area?
|
![]()
Each adapter appears in one project area at a time. In-order to have an adapter from a machine into multiple project areas you would have to start multiple instances of the adapter (these will be seperate instances).
May I ask, what is the usecase you are trying to achieve by having same QTP adapter appear in multiple project areas?
Also, Command line adapter runs batch files or similar executables, so essentially by modifying the command line batch files, you could run multiple test (with a caveat that in RQM only one test execution result will be created for the whole test). For QTP, as far as I recall it runs one script, however I would imagine you can use that 'startup' script to invoke multiple QTP tests. For that you would need to organize the tests in QTP to achieve the same.
Hope that helps.
|
![]()
May I ask, what is the usecase you are trying to achieve by having same QTP adapter appear in multiple project areas?
Our Scenario is as below
In an Instance of RQM we have multiple project areas created.
for eg: 1. Quality Manager || 2. Test etc.
![]()
For the above project area, named : Quality Manager we have the adapter console with all the information. When you click on start adapter button then only the adapter name show up in the RQM window. (Is there any way we can configure this .bat file to run as a windows service)
While testing this out I have asked the Server Admin to login into the QTP server and launch the launchQTPAdapterConsole.bat , then click on Start Adapter
This QTP Adapter ( launchQTPAdapterConsole.bat - Shortcut) is located on QTP Server.
My First requirement is:
How to make this launchQTPAdapterConsole.bat - Shortcut run automatically without being manually started.
Second Requirement :
How to configure the new adapter for my other project area - Test
Hope my scenario is clear to you ..
|
![]() Hi, Based on my interaction with RQM Development team and various SMEs here are some useful information which answer my question above.
|
![]() Below are some of the lessons we learned during the QTP RQM integration.
|
![]()
As we were busy with other releases this qtp to rqm testing was on hold for sometime.
Resuming the same from where we left off, we could successfully run the qtp script from the qtp server and during the script execution the recorded pages were played back. With help of server administrator we tried running the same script locally using Firefox Browser, execution went well but the recorded pages were not displayed. Solution to be identified for the issues which we have come across is:
Workaround: Go to task manager and see if there are multiple QTPro.exe process running under a different user name. If so kill those sessions and rerun it works. 2. What could be done to make the script execute locally via RQM (so that testers can run the test)? Note: Testing team wants to run the QTP test just by launching the RQM Web browser. Is this recommended. 3. Why the Shared Path (\\<ServerName>\folder1\folder2\QTP_WORKSPACE\) is not accessible from the tool, where as the same is accessible via Start > Run When accessed from tool it says " the shared path is not a known / accessible share. Please contact QM admin. (Refer to screen shot below) ![]() |
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.