Telerik Forums
Test Studio Forum
0 answers
27 views
I have a web test that we just created that has a data source binded(Excel) where in the data source, we have some cells in the Excel Spreadsheet as blank. We tried running it but it gave us an error Object reference not set to an instance of an object.
Mackie
Top achievements
Rank 1
Iron
 asked on 21 Apr 2025
2 answers
33 views
We have a web test where we run it as a step on another web test but before it goes to the next step, the test that's being executed as a step goes thru all of the iterations first when we do a partial test run 'Run To Here". Is there a way for us to execute the test as a step without going thru all of it's iteration and only do the first one and process to the next step?
Elena
Telerik team
 answered on 17 Apr 2025
1 answer
49 views

I am testing a .net web app with a data grid. It puts the new record inputs in the last row of the rendered table.

The table is wrapped within a DIV, when the content overflows, a vertical scrollbar is used to navigate the table.

How do I scroll to the last row? The scroll action is not recordable and the available scroll actions only scroll relative to the page top/bottom/middle.

 

Elena
Telerik team
 answered on 15 Apr 2025
1 answer
37 views

We have built a Test Studio test framework using xUnit and C#. We're able to execute the tests via Visual Studio Test Explorer, but now we would like to implement an ADO Azure pipeline to execute the tests via a nightly schedule. I have reviewed the Test Studio Tests in Azure Devops article, but it seems like it's mainly focused when using the Test Studio application for the automation.

BTW, this is for a WFP desktop application.

Thank you.

Elena
Telerik team
 answered on 24 Mar 2025
2 answers
45 views

Hi Team,

Iam automating WPF application. Is there a way to identify and verify colors.

 

Thanks,

Sreelakshmi

 

Ivaylo
Telerik team
 answered on 06 Mar 2025
1 answer
35 views

Hallo everyone,

I have question how could DesktopGrid be used?

The work is on an DesktopTest for a DesktopApplication, which contains Table-Elements on which I want to get access for coded desktop tests.

In DOM-Tree the table is shown as an Element with "controlTypeName=Table".

To find the Desktop-Table-Element I am using:

DesktopGrid table  = find.ByExpression(expression).As<DesktopGird();

When executing the code the Inner Exception occurs:

 ArtOfTest.WebAii.DesktopAutomation.InvalidElementException: Element must be of type 'DataGrid'.

 

For table handling in coded Desktop Test is the DesktopGrid the right solution and how and for what could DesktopGrid be used?

 

 

 

Ivaylo
Telerik team
 answered on 24 Feb 2025
1 answer
35 views
Has anyone integrated automated Test Studio tests in an Azure DevOps release (NOT build) pipeline for web applications?  We are evaluating Test Studio and are exploring ways to integrate it into our existing AzDO CI/CD pipeline.  All of our stuff is on-prem (no cloud), and are looking to possibly reappropriating our old TeamCity/Octopus server for the purpose of executing the tests.
Elena
Telerik team
 answered on 18 Feb 2025
1 answer
64 views

Hello We have a web application that generates multiple tabs in the page when running - most testing applications cannot cope with moving to a new tab - the question is whether there is a solution for this in your system Sincerely A.W.

Elena
Telerik team
 answered on 19 Dec 2024
1 answer
45 views

Hi,

I'm using Telerik Test Framework to test a WPF app on Windows. How do I see the contents of the RadVirtualGrid class? The way I'm accessing it is as follows:

using ArtOfTest.WebAii.Silverlight;
using Telerik.WebAii.Controls.Xaml.Wpf;
...
var virtualGrid = knownFrameworkElement.Find.ByType<RadVirtualGrid>();

The virtualGrid object is properly returned. However, no useful methods/properties are defined in the RadVirtualGrid class. Snoop cannot see the contents, either.

Does anyone know how to get the contents of RadVirtualGrid? I had no problem grabbing the RadGridView class. But we recently changed to the virtual grid.

Any suggestions would be appreciated.

Tetsu

Elena
Telerik team
 answered on 19 Dec 2024
1 answer
45 views

We have a WPF Application that when I use a coded step rather than a Test Step, I get an error message that the Element cannot be found. If the coded step is after a Test Step that does interact with the same page, the Element is found with no issues. 

Here is the Element example:

XamlTag=button,AutomationId=Vendor Search

If I set a breakpoint and open the DOM Explorer, and then close it, the Element is found as expected. Just stopping at the breakpoint is not enough, so it isn't an issue with waiting for the Element to be populated.

This issue also happens when we export our test to be a C# coded test. 

I have attached a video showing the behavior working and then breaking. We are unable to share the program with you since it is an internal application. 

Coded Step:

[CodedStep(@"Click VendorSearchButton")]
        public void Purchasing_CodedStep8()
        {
            System.Threading.Thread.Sleep(1000);
            Applications.IdsLocalRunnerexe.Purchasing__Webstaurant_Store_Inc__Inventory_Distribution_System.VendorSearchButton.Wait.ForExists();
            // Click VendorSearchButton    
            Applications.IdsLocalRunnerexe.Purchasing__Webstaurant_Store_Inc__Inventory_Distribution_System.VendorSearchButton.User.Click();

        }

Here is the code within the application setting the AutomationId:

<Button x:Name="NavigateButton" Margin="0,1,0,0" Command="{Binding CommandOnClick}" IsEnabled="{Binding Enabled}"
        Height="43" VerticalAlignment="Center" HorizontalAlignment="Stretch"
        Style="{StaticResource MenuItemButtonStyle}"
        AutomationProperties.Name="{Binding DisplayText}" 
        AutomationProperties.AutomationId="{Binding DisplayText}" 
        Visibility="{Binding IsEditable, Converter={StaticResource BooleanInverseVisibilityConverter}}">
    <TextBlock Foreground="{StaticResource MenuItemTextBrush}" FontSize="14" Padding="4"
               Visibility="{Binding IsEditable, Converter={StaticResource BooleanInverseVisibilityConverter}}">
        <Run Text="{Binding Index, Mode=OneWay}" FontWeight="Thin" /><Run Text="." FontWeight="Thin" />
        <Run Text="{Binding DisplayText, Mode=OneWay}" FontWeight="SemiBold" />
    </TextBlock>
</Button>

 

Plamen Mitrev
Telerik team
 answered on 25 Nov 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?