"The module ... could not be found" when run outside Ranorex : General Questions

"The module ... could not be found" when run outside Ranorex

Ask general questions here.

"The module ... could not be found" when run outside Ranorex

Postby timbuethe » Tue Sep 06, 2011 11:22 am

Hi,

I have the following problem: We use NAnt & Hudson/Jenkins to compile and run Ranorex tests automatically. When doing so, some modules aren't executed and the following error message is printed:

Code: Select all
The module 'SomeModuleName' (with ID {b22cf739-754d-4bfe-9e52-cb893fb95791}) could not be found.


I checked the compiled dll (using a decompiler) and they contain the searched classes. I also searched for the ID mentioned above and can find them in the .rxrec file:

Code: Select all
<recordtable id="..."


In the .vb file:

Code: Select all
<TestModule("..."


as well as in the test suite (.rxtst):

Code: Select all
<testmodule ... ref="..."


Could somebody give me a hint what is causing the problem? Is there something I have to keep in mind when compiling outside Ranorex?

Thanks,
Tim
timbuethe
 
Posts: 14
Joined: Mon Aug 22, 2011 12:08 pm

Re: "The module ... could not be found" when run outside Ranorex

Postby Support Team » Tue Sep 06, 2011 11:36 am

Hi,

please tell us how the call of the test module whcih can not be found looks like.
Do you call the executable or do you use the test suite runner?
Can you please provide us your test uite file (.rxtst), or even better your whole project?
You can either attach the file to your next forum post or send it to our support mail box (support@ranorex.com).

Kind regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: "The module ... could not be found" when run outside Ranorex

Postby timbuethe » Tue Sep 06, 2011 12:03 pm

I just sent an email containing the whole project as well as an nant.build file we use to compile it.

EDIT:
The mail was rejected, I just resent it in three parts
timbuethe
 
Posts: 14
Joined: Mon Aug 22, 2011 12:08 pm

Re: "The module ... could not be found" when run outside Ranorex

Postby Support Team » Tue Sep 06, 2011 1:56 pm

Hi,

thanks for providing your solution.
At the first look everything seems to be ok.
Please make sure that the module which has been not found is in the runcofig.
Also make sure, that dll reference is on the right place.
Which module can't be found within your solution?

Regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: "The module ... could not be found" when run outside Ranorex

Postby timbuethe » Tue Sep 06, 2011 2:34 pm

I sent you a mail once again. Maybe we can move this conversation to email and just post the solution here?
timbuethe
 
Posts: 14
Joined: Mon Aug 22, 2011 12:08 pm

Re: "The module ... could not be found" when run outside Ranorex

Postby Support Team » Tue Sep 06, 2011 2:46 pm

Hi,

of course we can move this conversation to our support mail box.

Regards,
Tobias
Supprt Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron