Hi there,
I'm looking for some clarification on what settings can be changed when passing a settings file to the ArtOfTestRunner.exe.
When I try to run a test list the settings for "Web" appear to follow the values I set as well as being able to change the Execution Delay, however when I try to change the 'RerunFailedTests' value it will still use the value set in the original list.
Example settings.json I used
{ "Settings": { "__type": "ArtOfTest.WebAii.Core.Settings", "__value": { "Web": { "__type": "ArtOfTest.WebAii.Core.Settings+WebSettings", "__value": { "RecycleBrowser": false, "DefaultBrowser": 12, "BaseUrl": "https://BaseUrl.com/qa", "KillBrowserProcessOnClose": false, "KillBrowsersBeforeStart": false }}, "ExecutionDelay": 0, "RerunFailedTests": true }}}
How can I pass in the RerunFailedTests value from the settings json file?
Thanks for your help,
Liam
Image verification step fails whith following exception when executed on specific machine.
EXCEPTION! (see below)Executing a test with double click action on Windows 10 machine with Chrome browser, enabled for automation with extension, is failing on the double click action when executed in code.
Test Studio version 2022.3.xx.
Sample test shared internally.
Visual Studio 17.4.3 crashes when your rebuild a Test Studio project.
To reproduce the issue you need to create new project with only one test and a few steps. Then, build the project and Visual Studio becomes not responding.
Steps to reproduce:
Expected: To be executed with no errors on a remote machine.
Actual: When executed through the Scheduling it results in compilation errors similar to this:
error CS1061: 'ProjectNamespace.Pages' does not contain a definition for 'PageNodeFriendlyName' and no extension method 'PageNodeFriendlyName' accepting a first argument of type 'ProjectNamespace.Pages' could be found (are you missing a using directive or an assembly reference?)
I am not able to add Test Explorer Settings to my project in Visual Studio. I am missing the assembly LoadTestPackage and I was notified that this feature has been deprecated in VS 2022.
The support team at Test Studio mentioned an alternative solution with the Run Settings as possible solution, but it is not yet implemented.
By design the Wait for exist step doesn't record an image for the element. However, you can manually add an image for the element in that step. And if this is the case the fallback to image search (when the find expression doesn't match an element on the page) remains only in the background - there is no message that the element is found by image only in the execution log.
Steps to reproduce:
1. Use a wait for exist step with an image for the element.
2. Ensure the element find logic will fail to locate the element.
3. Ensure the image will match an image on the page.
4. Run the test.
Expected: The element to be located by image as a fallback search criteria and get the message and warning in the execution log for that.
Actual: The test passes, but never informs that the element was found by image only.
At Execute for all tests I'm getting this error:
[ Compiler ]
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\AppPage.tstest.vb(111,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\AppPage.tstest.vb(117,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\LogOnBase2.tstest.vb(52,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\LogOnIfElse.tstest.vb(52,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\TCE2.tstest.vb(59,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'INFO' > Build Failed
I spent an hour analyzing it. The only thing I can see in the code is the fact that, for each file with the error there is code from a file I no longer use. Here is the suspect:
<CodedStep("Verify 'TextContent' 'Exact' 'Home' on 'HomeDiv'")> _
Public Sub LogOnBase_CodedStep()
Pages.HttpsPedcoreui.HomeDiv.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Exact, "Home")
End Sub
I'd really like to talk to someone as there are other HomeDivs in the files so I don't want to start deleting steps.
Steps to reproduce:
Expected: The x-axis and y-axis of the bar chart to be listed in the exported image. The colour legend next to the pie chart to be specified.
Actual: These are missing.
Note: If the export is performed from the light theme, the mentioned legend is output as expected.
Expected is that there shouldn't be any calls to the Storage Service.
Actual is that the attempt for upload to the Storage is triggered for local setup as well.
Visual Studio 2019 crashes after opening and closing tests and working on them for some time. The memory that Visual Studio uses increases to the point where it slows down and eventually crashes.
There are errors from VSTSExecution in the Windows Event Viewer log and other errors about faulting module "C:\WINDOWS\System32\KERNELBASE.dll" from the time of the crash.
using 2022.2.804.0
Hi,
Given I do not enable the Chrome extension or I run in Chrome Headless mode,
When I attempt to access the url https://make.powerapps.com
Then I get the following Network error
{"error":"invalid_request","error_description":"AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests.\r\nTrace ID: 2dec4c79-8808-4b00-b13c-c2dc348e0000\r\nCorrelation ID: 5624ddba-63af-4883-9855-1669b2228f77\r\nTimestamp: 2022-10-19 19:16:52Z","error_codes":[9002327],"timestamp":"2022-10-19 19:16:52Z","trace_id":"2dec4c79-8808-4b00-b13c-c2dc348e0000","correlation_id":"5624ddba-63af-4883-9855-1669b2228f77"}
Please advise.
In a desktop test you can add data source and data drive the properties of the test steps. This is only available for verification steps. If you want to data drive the typing of text in an action step, the binding properties are not displayed.
Enable data binding for action steps as well.
Hello,
I tried to use Headless mode and see that it doesn't work with clipboard. The part of my test scenario is click on button "Copy to clipboard" on the page and check the copied text. Nothing is copied in headless mode.
Can you help me?
In user's specific application there are kendo menus implemented with sub-menus to appear on mouse hover. During recording all menus can be opened as expected only if highlighting is not enabled. Once highlighting is on, the submenus are shown over the main menu and no clear selection can be made.
Further details on the case shared internally!
Workaround: The issue could be workaround with the following steps:
Test Studio version 2022.2.804.
Steps to reproduce:
1. Use a tests, which enters text into an input field.
2. Use commas in the text to type.
Expected: The text to get typed with all listed characters.
Actual: Commas don't get entered into the text field.
Steps to reproduce:
Expected: A 'Handle Download Dialog' step is added to the test and the file is downloaded.
Actual: A 'Handle Download Dialog' step is added to the test but the file is not really downloaded and you can't find it the specified folder.
The 'Handle Download Dialog' step is recorded correctly, though, and you can use it for execution. During test run-time the file gets downloaded correctly in the specified folder.