Page 1 of 1

nUnit & Ranorex Slowness - HELP?

Posted: Thu Apr 03, 2014 1:30 pm
by brgibb
Hi,

I guess relates to thread 4680 but I'm seeing very poor performance when running Ranorex tests via nUnit.

A simple Validate.AreEqual() check takes ~100ms in my VS C# IDE yet when running the test via the nUnit console it take >330ms.

I've tried fiddling with the nUnit settings making the test run in a separate process but no joy. I also have

[TestFixture, RequiresSTA] set in my nUnit test which I've read elsewhere may help.

Other people must have seen this?

Thanks in advance.

Re: nUnit & Ranorex Slowness - HELP?

Posted: Mon Apr 07, 2014 4:52 pm
by Support Team
Hello brgibb,

This may have several reasons.
We unfortunately don't work with NUnit so we may be of little help.
But which NUnit version are you using? I suggest using the latest one since they fixed some issues regarding performance.

Regards,
Robert

Re: nUnit & Ranorex Slowness - HELP?

Posted: Tue Apr 08, 2014 10:44 am
by brgibb
Funnily enough I upgraded to 2.6.3 and saw the performance to be slightly slower than it was with 2.6.2.

Like I say I can't believe others haven't seen this.

Re: nUnit & Ranorex Slowness - HELP?

Posted: Thu Apr 10, 2014 1:33 pm
by Support Team
Hello brgibb,

That's a pity!

Well, may I ask you to answer following questions:
  • Which Ranorex version do you currently use?
    Do you operate on a x32 or x64 bit system?
    Which .NET version are you currently using?
Thank you in advance.

Regards,
Robert

Re: nUnit & Ranorex Slowness - HELP?

Posted: Fri Apr 11, 2014 12:31 pm
by brgibb
- Ranorex version used in the timings given was 5.0 though....I upgraded to 5.0.1 yesterday - Haven't tried the same tests again though.

- I operate a x64 bit system

- In Tools->Test Assemblies my nUnit console states:

nunit-x86.exe ( 3932 )
Framework Version: Net 3.5
CLR Version: 2.0.50727.5477

nunit-agent-x86.exe ( 776 )
Framework Version: Net 4.5
CLR Version: 4.0.30319.18444

test-domain-ChannelManagerAutoTests.exe
ApplicationBase: C:\ChannelManagerAutomation\ChannelManagerAutoTests\bin\Debug\
Configuration File: C:\ChannelManagerAutomation\ChannelManagerAutoTests\bin\Debug\ChannelManagerAutoTests.exe.config
ChannelManagerAutoTests
Path: C:\ChannelManagerAutomation\ChannelManagerAutoTests\bin\Debug\ChannelManagerAutoTests.EXE
Image Runtime Version: 4.0.30319
Uses: nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx

Re: nUnit & Ranorex Slowness - HELP?

Posted: Mon Apr 14, 2014 3:36 pm
by Support Team
Hello brgibb,

I talked to your QA team, but unfortunately this issue isn't related to Ranorex.
I hope you can find a solution or a workaround for your problem.
Please understand that we cannot provide support for another vendor’s software.
Thank you for your understanding.

Regards,
Robert