Seddryck / NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
http://www.nbi.io
Apache License 2.0
106 stars 37 forks source link

Error while trying to open PBIDesktop #600

Closed AnimeshRoy86 closed 4 years ago

AnimeshRoy86 commented 4 years ago

Executing below piece of code

<tasks run-once="true" parallel="false">
        <exe-kill
          name="PBIDesktop"
          />
        <exe-run
          name="PBI File.pbix"
          path="Path to PBI File"
          />
        <connection-wait
          connection-string="PBIX = PBI File"
          timeout-milliseconds ="60000"
          />
</tasks>

Throwing the below error

NBi.NUnit.Runtime.TestSuite.My first test: Exception during the setup of the test:

<>f__AnonymousType2<string,NBi.Core.Scalar.Resolver.IScalarResolver<int>>' does not contain a definition for 'TimeOut'
   at CallSite.Target(Closure , CallSite , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at ActLike_IConnectionWaitCommandArgs_ad366da17631445893e03183bbe86341.get_TimeOut()
   at NBi.Core.Decoration.DataEngineering.Commands.ConnectionWaitCommand.Execute()
   at NBi.Core.Decoration.Grouping.Commands.SequentialCommand.Execute(IEnumerable`1 listOfArgs)
   at NBi.Core.Decoration.Grouping.Commands.SequentialCommand.Execute()
   at NBi.NUnit.Runtime.TestSuite.ExecuteSetup(SetupXml setup, IDictionary`2 allVariables)
Seddryck commented 4 years ago

Fix available in 1.23.0-beta.21