Some actions in specific application with frames cannot be recorded as expected.
The last version of Test Studio when this was working fine is R3SP1 2020 (v.2020.3.1209).
Further details shared internally.
Hi Team,
We're submitting a feature request based on Support ID 1567144.
Currently the tool does not support selection of multiple files through Open-File-dialog in WPF apps.
1 possible solution can be to multi-select files through key-press(which is present in other automation tools).
Scenario: The steps for applying a filter in WPF grid columns is tied up with the index of the column in the current view of the grid. However, the columns in WPF grid can be reordered. And after changing the columns initial order, any steps to interact with the filtering, will act based on index in the current order.
Steps to get the scenario in action:
Expected is that you can identify the specific columns filters by their name, for example.
Actual is that the interacting with the filters is based on the order of columns. Or in other words the filter for the second column will be opened, if that was recorded, no matter if it is a different column.
Feature request: Implement the option to use the column names to identify the filters to select.
Workaround: The lack of this functionality can be covered in a coded step - the sample code below is based on the structure of the grid from the Telerik WPF demo app.
// Add the cilumn name textbloxk element in the Elements Explorer so that you can use it in the code.
// Ensure its find expression uses the TextContent attribute - that way the element will be consistently identified no matter where it is in the grid
var lastNameTextblock = Applications.WPF_Demosexe.WPF_Controls_Examples__GridView_ChartView_ScheduleView_RichTextBox_Map_Code_Samples.LastNameTextblock;
// Locate the first parent element of that textblock, which is of type grid
var cell = lastNameTextblock.Parent("Grid");
// Create a find expression, which searches for element with XamlTag=filteringdropdown
var expression = new XamlFindExpression("XamlTag=filteringdropdown");
// Use it to locate and click on that element.
cell.Find.ByExpression(expression).User.Click();
I am wondering how to adjust a kendo-rangeslider to a different value using the Test Studio. In this case the slider is wrapped in an HTML div. It does not respond to the Javascript events.
Please consider addition this component to the Kendo components library in Test Studio.
I recently upgraded to Visual Studio 2022 and the IDE is now a 64-bit process. I am unable to assign a dataset while in VS 2022.
However, this still works within Test Studio...
I have an expanded dropdown and I want to capture its state in a screenshot. I used the method below, but it excludes the dropdown that is open.
ActiveApplication.MainWindow.Capture();
The workaround is to capture the whole desktop with a predefined step in Test Studio.
Test Config Scenario (sample proj attached):
Test A (Maintest) calls Test B
Test B (filled with local Data) calls Test C
Test C (inheritParentData, should get it's data from Test A) calls Test D
Test D (inheritParentData, should get it's data from Test A as well)
Expected: Upon execution Test B executes all its iterations correctly for each iteration of Test A.
Actual: Test B executes all its iterations, but uses only the first row value for each of the iterations.
Note: If Test C is excluded from the test execution, all iterations from test B are performed correctly.
If Test C and Test D are using their own data instead of inheriting the parent source, the execution is as well as expected.
Hi everyone,
I built a WPF single file application with dotnet 6 with the following script.
dotnet publish \ --configuration Release \ --runtime win-x64 \ --self-contained=true \ -p:PublishSingleFile=true \ -p:IncludeNativeLibrariesForSelfExtract=true \ -p:IncludeAllContentForSelfExtract=true \ --output bin/publish
When using Test Studio, it cannot record actions. The compact recording toolbar is not visible.
At some point when reconfiguring the app path, a popup showed up :
Any feedback from you would be welcome.
If the Output panel in Test Studio is unpinned and stays hidden on the side of the window, it pops up each time the project is compiled. It stays open until the focus is set on another pane in the project (mouse click). That way it hides the project and test area.
It is good to improve this behavior and hide the Output pane automatically.
Change color of different steps, based on their type. This will make it easier to read and maintain the test.
For example, I would find it really useful it Comments within a test could be a different color so they stand out better.