I run several test suites under Ranorex agent. All works well, except one suite which doesn't even start- The zipped log contains just one step with the message "Sequence contains no matching element " and this stack trace:
Code: Select all
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Ranorex.Integrations.TestRail.Service.ReportingServiceBuilder.CreateNew(RxTestSuite rxSuite, IEnumerable`1 selectedCases, String runName)
at Ranorex.Core.Testing.TestSuiteRunner.HandleReportingService(RunParams runParams, TestSuite testSuite)
at Ranorex.Core.Testing.TestSuiteRunner.RunInternal(Type containerType, String[] testSuiteXmls, RunParams[] rps)
Code: Select all
Searching Agent ...
--------------------------------------------------------------------------------
| P A C K I N G T E S T S O L U T I O N |
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
| E X E C U T I N G J O B |
--------------------------------------------------------------------------------
Job issued on http://10.1.4.172:8081/api/
Job arguments: Virtual_Entries.exe /optimizations:"ReuseDirectoryForExecution, DetectChangesOnUpload" /pid:8796 /testrail /trpass:Pass0815 /trrunname:"DBMRanorexTests.Virtual_Entries@VM-T-32-RANOREX: DBM 5.6.8118.0 on 2021-01-20 12:38" /truser:[email protected] /trvideo /ts:Virtual_Entries.rxtst /zr
Cleanup directory...
Extracting files from 'http://10.1.4.172:8081/api/files/9cea317e9a2a3791f3ad92d2b473b57d.zip' to local execution directory C:\Users\qa\AppData\Local\Temp\Ranorex\9cea317e9a2a3791f3ad92d2b473b57d\.
Reuse files.
Validating Ranorex runtime...
Ranorex runtime validated. [9.3.1.0]
Searching for binary test executable in 'C:\Users\qa\AppData\Local\Temp\Ranorex\9cea317e9a2a3791f3ad92d2b473b57d\'.
Executing Virtual_Entries.exe /optimizations:"ReuseDirectoryForExecution, DetectChangesOnUpload" /pid:8796 /testrail /trpass:Pass0815 /trrunname:"DBMRanorexTests.Virtual_Entries@VM-T-32-RANOREX: DBM 5.6.8118.0 on 2021-01-20 12:38" /truser:[email protected] /trvideo /ts:Virtual_Entries.rxtst /zr
Sequence contains no matching element
Execution finished with result Error
Publishing test results
Publishing C:\Users\qa\AppData\Local\Temp\Ranorex\9cea317e9a2a3791f3ad92d2b473b57d\TestSuite_20210120_131546.rxzlog to http://10.1.4.172:8081/api/files/
Test results published
--------------------------------------------------------------------------------
| D O W N L O A D R E S U L T S |
--------------------------------------------------------------------------------
Download TestSuite_20210120_131546.rxzlog
31%
63%
95%
100%
--------------------------------------------------------------------------------
| D O N E |
--------------------------------------------------------------------------------
Execute test suite
Test execution failed
Report: E:\DBRanorexTests_Scripts\work\Test.bin\TestSuite_20210120_131546.rxzlog
Job completed: Error
The test runs well when executed outside the agent. Any ideas? This is Ranorex 9.3.1 running under Win10 64bit.
Thank you
Hans