Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run the QTPTest script from the Quality Center then an error occurs
#1
Not Solved
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
Reply
#2
Not Solved
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
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
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
Reply
#4
Not Solved
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?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#5
Not Solved
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.
Reply
#6
Not Solved
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.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#7
Not Solved
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.
Reply
#8
Not Solved
Start-> run-> type in firewall.cpl
Choose the no option to turn it off.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#9
Not Solved
It was already off
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script access denied error when executing alm scripts in planned host Kumar Reshma 0 1,503 05-28-2018, 04:04 PM
Last Post: Kumar Reshma
  Error while adding Object to Object repository at run time SaranKumarV 3 8,619 02-02-2015, 01:40 AM
Last Post: dubeyvin
  Unable to Run the Script aalladi 6 10,626 05-14-2014, 07:09 AM
Last Post: Manjusha
  Windows 8 envirnment error while running QTP script. Rashmi Rajpal 0 2,407 10-10-2013, 12:21 PM
Last Post: Rashmi Rajpal
  Error launching QTP tests from Quality Center SteveS 0 3,027 09-18-2013, 06:59 PM
Last Post: SteveS

Forum Jump:


Users browsing this thread: 2 Guest(s)