The project is initially created in the standalone Test Studio IDE and is connected to a remote Git repository. Then it is exported to Visual Studio and when trying to run test lists in the VS Test Explorer, they don't start at all.
The Tests output contains an error when trying to run a test list:
Error preparing project for command line run: Could not create an instance of type ArtOfTest.Common.SourceControl.IRepositoryInfo.
The workaround is to clear the Source Control Binding from the Test Studio Standalone IDE with the options Discconect from Source Control and then Remove Source Control Binding. See these options in the screenshot from this link.
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.
Currently sending a dynamic target towards JSON POST data replaces the complete string.
Add the ability to parse the JSON POST data and replace only certain parts of it.
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.
Hi Team ,
I wanted to customize the result generated from Test studio. Kindly guide me a way.
Regards,
Prajna
Dear Telerik team,
I would like to verify if an image has appeared at a certain position in my desktop application. I found in the Telerik documentation that this is possible for Web and WPF tests. Is this feature also available for desktop tests? Or is there some trick to verify the image without this feature?
I am currently using the free trial version of Telerik Test Studio to see if it meets all my needs and whether I will get the full version.
Thank you
Zuzana
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.
Sample date picker used here.
Steps to reproduce:
Expected: To record a step to 'Enter Text'
Actual: A 'Click' step gets recorded and no date entered is registered in the test.
Workaround:
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.