cancel
Showing results for 
Search instead for 
Did you mean: 

RPC Server Unavailable Error - only when running tests together

Contributor

RPC Server Unavailable Error - only when running tests together

I have a bunch of tests set up in TestComplete to test a Windows application. When I run them all at once, I consistently get an RPC Server Unavailable Error. When I run the tests individually, there is no issue with the scripts. 

 

I have tried running them in a script, calling them from a keyword test, and just using the project set up to call them all in order. No dice. Running each test manually completely defeats the purpose of automation.

 

For each test the TestedApp is open then closed. The error always appears right after the open of the second test when I try activate a UI element.

7 REPLIES 7
Community Hero

Re: RPC Server Unavailable Error - only when running tests together

This seems more like an issue with your environment than with Test Complete:

 

http://techgenix.com/troubleshoot-rpc-server-unavailable/

 

Also, are you running Test Complete as an admin? 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Contributor

Re: RPC Server Unavailable Error - only when running tests together

TestComplete is running on the same machine as TestedApp, so how can it be a firewall thing or related to networking? This has to do with the TestedApp closing, and then re-opening, and loosing all the object mappings.

Community Hero

Re: RPC Server Unavailable Error - only when running tests together

I am not sure about the details of your application, but it could be trying to communicate with something else, these errors can also happen due to something local as well. 

 

You said that you were seeing the RPC error which is a Windows error not a Test Complete error which is why I pointed you in that direction.

 

Losing the object mappings is something different entirely, we would need a lot more info for that, specifically screenshots of your mapping properties and screenshots of the object browser and properties for the object you can't find.


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
Community Hero

Re: RPC Server Unavailable Error - only when running tests together

Hi,

 

Is it possible to figure out from test log whether RPC Server error originates in TestComplete or in your tested application?

Also, you may consider to use the ReportGenerator utility (https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/report...) and either get and idea of what is going on or contact Support via the https://support.smartbear.com/message/?prod=TestComplete form and provide them with the generated memory dumps.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Community Manager

Re: RPC Server Unavailable Error - only when running tests together

Hi Guys,

Thanks a lot for all your suggestions!

 

@dcfecker, were they help you resolve the error? Please share the solution you've come.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Frequent Visitor

Re: RPC Server Unavailable Error - only when running tests together

I have an open support ticket on this, but I've now encounterred another error that is blocking this one. It also has an open support ticket. 

 

As far as ReportGenerator.exe. I have been unable to use that with my TestedApplication as the instrumentation that it is using brings my TestedApplication to a near screeching halt. I'm hoping they can also shed some light on this as well. Just waiting for responses.

Community Manager

Re: RPC Server Unavailable Error - only when running tests together

Thanks for the update, @dfecker!

We are waiting for the solution from them.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors