Exception after TestSuiteRunner.Run call
Posted: Fri Sep 25, 2020 10:44 am
Hello,
I m' using Ranorex 9.3.3
In one of our CSharp project we start the ranorex test using this méthode TestSuiteRunner.Run
After calling this method I always have this exception
System.InvalidOperationException: Unable to resolve type: Ranorex.Core.Utils.ILifecycleService, service name:
Stack Trace:
at Ranorex.Libs.LightInject.ServiceContainer.CreateDelegate(Type serviceType, String serviceName, Boolean throwError)
at Ranorex.Libs.LightInject.ServiceContainer.CreateDefaultDelegate(Type serviceType, Boolean throwError)
at Ranorex.Libs.LightInject.ServiceContainer.GetInstance(Type serviceType)
at Ranorex.Libs.LightInject.ServiceFactoryExtensions.GetInstance[TService](IServiceFactory factory)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String[] testSuiteXmls, RunParams[] rps)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String[] testSuiteXmls, RunParams rp)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String testSuiteXml, RunParams rp)
at Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs, String testSuiteXml)
at Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs)
When i'm returning in the code, intellicense do not retrieve ILifecycleService under Ranorex.Core.Utils see Intellicense.jpg in attachment.
I d'ont understand why this term is not retrieved
I m' using Ranorex 9.3.3
In one of our CSharp project we start the ranorex test using this méthode TestSuiteRunner.Run
After calling this method I always have this exception
System.InvalidOperationException: Unable to resolve type: Ranorex.Core.Utils.ILifecycleService, service name:
Stack Trace:
at Ranorex.Libs.LightInject.ServiceContainer.CreateDelegate(Type serviceType, String serviceName, Boolean throwError)
at Ranorex.Libs.LightInject.ServiceContainer.CreateDefaultDelegate(Type serviceType, Boolean throwError)
at Ranorex.Libs.LightInject.ServiceContainer.GetInstance(Type serviceType)
at Ranorex.Libs.LightInject.ServiceFactoryExtensions.GetInstance[TService](IServiceFactory factory)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String[] testSuiteXmls, RunParams[] rps)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String[] testSuiteXmls, RunParams rp)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String testSuiteXml, RunParams rp)
at Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs, String testSuiteXml)
at Ranorex.Core.Testing.TestSuiteRunner.Run(Type containerType, String cmdLineArgs)
When i'm returning in the code, intellicense do not retrieve ILifecycleService under Ranorex.Core.Utils see Intellicense.jpg in attachment.
I d'ont understand why this term is not retrieved
- i have missing a library ?
- This term is obsolete in 9.3.3 ?