Closed christianurban-faveo closed 4 years ago
I don't download and unpack .zip files - could you include them here (marked with Insert Code) thanks
I've updated the issue. Should I also include the output with "Insert Code"? That would be (70.000 Lines)
The recommended way of running the tests is not to load everything into the DEFAULT Test suite - but instead run Run-Tests with -extensionId for every single test app. This also means that you do not have to open the UI. We might very well have timeouts with very long running interactions - I will probably not have the time to troubleshoot that, when this is not the way to do it.
Thanks in advance. That solves our problem. We will now run the tests per "extensionId". We did not know that this would be possible.
Describe the issue After installing the microsoft tests with "Import-TestToolkitToBcContainer" and loading the tests in "AL Rest Runner". We start the automated tests running "Run-TestsInBCContainer" (Complete Script file is attached). After some hours we are getting the following error:
ClientSession State is TimedOut (Wait time 3 seconds) at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 201 at InvokeInteraction, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 216 at ScrollRepeater, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\ClientContext.ps1: line 413 at Run-Tests, C:\ProgramData\NavContainerHelper\Extensions\BC16CU2\PsTestTool-6\PsTestFunctions.ps1: line 662 at, : line 57
Scripts used to create container and cause the issue
Full output of scripts