Comment 6 for bug 1064804

Revision history for this message
Charlie Poole (charlie.poole) wrote : Re: [Bug 1064804] Re: Test throws an exception in NUnit but works when running in MSTest or as a Console application

Right, but I'm suggesting you run it under NUnit using process
isolation. You can do that by using the Settings menu, which
includes a page for specifying how tests are loaded.

Charlie

On Tue, Oct 9, 2012 at 10:27 PM, Mun Wai Chan
<email address hidden> wrote:
> As mentioned above, I ran it in a Console app and it worked.
>
> using Microsoft.Dynamics.BusinessConnectorNet;
>
> namespace ConsoleApplication1
> {
> public class Program
> {
> public static void Main(string[] args)
> {
> Axapta ax = new Axapta();
> ax.LogonAs("User1", "Globe", new NetworkCredential("User1", "pwd", "Globe"), default(string), default(string), "A6BuildTestAos:6004", default(string));
> ax.Logoff();
> }
> }
> }
>
> --
> You received this bug notification because you are subscribed to NUnit
> Extended Testing Platform.
> https://bugs.launchpad.net/bugs/1064804
>
> Title:
> Test throws an exception in NUnit but works when running in MSTest or
> as a Console application
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nunitv2/+bug/1064804/+subscriptions