Micro Focus QTP (UFT) Forums
Run the QTPTest script from the Quality Center then an error occurs - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Run the QTPTest script from the Quality Center then an error occurs (/Thread-Run-the-QTPTest-script-from-the-Quality-Center-then-an-error-occurs)



Run the QTPTest script from the Quality Center then an error occurs - shivakumar6g - 02-25-2011

Hi,

1. Uploaded the QTPTest scripts into the Quality Center
2.Then in the QC run as the QUICKTest_Test type run the script then provides the ip address of the QTP and then error occured "Remote procedure call failed"

WHat is the problem in this? can anybody help me its urgent.

Thanks
Shiva
shivakumar6g@gmail.com



RE: Run the QTPTest script from the Quality Center then an error occurs - basanth27 - 02-25-2011

Few questions,
1. Is this the first time you are executing on QC?
2. The execution machine is a localhost or a remote machine?
3. What are the network verification steps you have performed to ensure that the machines are on the same domain?
4. Have you ensured the option allow to run mercury products is chexked on qtp?
5. Have you tried connecting to QC from QTP?
6. Qtp version ?

This is to begin with..we should have a good start once we have these questions answered


RE: Run the QTPTest script from the Quality Center then an error occurs - shivakumar6g - 03-02-2011

1. Is this the first time you are executing on QC?
Yes
2. The execution machine is a localhost or a remote machine?
Remote machine but using the static ip of qtp machine to run from qc.
3. What are the network verification steps you have performed to ensure that the machines are on the same domain?
Please tell me what should be done for this... i used static ip
4. Have you ensured the option allow to run mercury products is chexked
on qtp?
Yes enabled it
5. Have you tried connecting to QC from QTP?
Yes that is working fine.
6. Qtp version ?
QTP11.00 and qc10.00

Please let me know if you need any more information


RE: Run the QTPTest script from the Quality Center then an error occurs - basanth27 - 03-02-2011

I read from your post that its urgent. However, i see your definition of urgency as few days. Never write "its urgent" until you are really going to refresh the forum every 10 mins.

Wiping aside the dust, lets dive in to troubleshoot.
1. Open the QC browser on one of the remote machine and run a test locally from the test runner. Do you get the same error?


RE: Run the QTPTest script from the Quality Center then an error occurs - jsknight1969 - 03-02-2011

Every time I have had this issue it was either:

1. Remote agent was not running on test machine
2. Windows firewall was enabled and blocking the RPC call from QC Server
3. QC server was unable to ping QTP machine because they were on different subnets. I don't think QC can use IP Address. It must have a name for the host, which also means your host must be DNS registered and your DNS query must be resolvable on the QC machine.

Hope this helps.


RE: Run the QTPTest script from the Quality Center then an error occurs - basanth27 - 03-03-2011

I believe the agent is started by QC during execution and need not be explicitly started.
IP should be possible.
Firewall check is very essential.


RE: Run the QTPTest script from the Quality Center then an error occurs - shivakumar6g - 03-03-2011

1. Remote agent was not running on test machine
Remote agent was running in the QTP machine.

2. Windows firewall was enabled and blocking the RPC call from QC Server
I dont have any idea can you elobrate what should be done.

3. QC server was unable to ping QTP machine because they were on different subnets. I don't think QC can use IP Address. It must have a name for the host, which also means your host must be DNS registered and your DNS query must be resolvable on the QC machine.
If this should be done how can i do it---- not aware of it.


Firewall check is very essential.
Then how it should be done? Please tell me elobaratively i had never done this before.


RE: Run the QTPTest script from the Quality Center then an error occurs - basanth27 - 03-03-2011

Start-> run-> type in firewall.cpl
Choose the no option to turn it off.


RE: Run the QTPTest script from the Quality Center then an error occurs - shivakumar6g - 03-04-2011

It was already off