Telerik Forums
Test Studio Forum
1 answer
32 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
42 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
34 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
32 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
58 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
41 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
42 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
1 answer
48 views

I am creating something with a name of zxcvb using the generate random string test step. Then I'm validating that that string is visible in an element. However in the element there is some space between the beginning of the generated name, so I get failure information in my logs like this

Failure Information:
~~~~~~~~~~~~~~~
Displayed text did not satisfy constraint(    t0Xhs Same t0Xhs)

my test looks like

'Pass' : 6. Type '' into Item0Bstextbox - DataDriven: [$(test-search)][$(test-search)]
'Pass' : 7. Click OKRadbutton
'Fail' : 10. Verify 'SearchNameTextblock' displayed text Same '   ' - DataDriven: [$(test-search)]

so in step 10, I need to add some spaces in ahead of the data driven value

Elena
Telerik team
 answered on 22 Nov 2024
1 answer
126 views

I am trying to log in my Telerik account with the correct email and password, but I can not log in. The Cloudflare human verification is loading and I receive this error:

"Oops! We couldn't verify you're human. Please try a different browser or contact us for assistance."

I am using Chrome and also tried with Edge browser, but the same thing happens. Please help me fix the log in problem urgently.

Elena
Telerik team
 answered on 12 Nov 2024
0 answers
62 views

Dear Telerik team, 

we have discovered an issue with context menu operations. Here's a simplified code example clicking a menu item. The problem is that the click is performed on a different entry way below the one accessed in this code. Is that a bug? 

Furthermore, is there a way to access the context menu item directly with a click operation?  

Or maybe, is there a better way to access the context menu from code? Parsing through the VisualTree immediately closes the context menu.

  
var desktop = DesktopElement.FromDesktopRoot();
 
 // open context menu
 @this.User.lick(MouseClickType.RightClick);

 // get context menu
 var contextMenu = desktop.Find.ByClassName("RadContextMenu");

 // get entries
 var entries = contextMenu.Find.AllByClassName("TextBlock").As<DesktopText>();
 entries.First(box.Text == menuItem).User.Click();

 

Best regards!

Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?