Telerik Forums
Test Studio Forum
0 answers
75 views

Hello Test Studio Community,

We have released a new version of Test Studio today (v2023.3.1330.1). Please update your existing installation at your earliest convenience.

You can review the Legacy Installer Vulnerability - Progress Test Studio article to learn more details about why we are recommending customers to update.

To get the new version, take the following steps:

  1. Go to Downloads | Your Account. 
  2. Select the SKU of Test Studio you are using (Ultimate, DevEdition, Run-Time, etc.).
  3. Download the desired installer file, run it, and follow the steps to completion.

 

If you have questions about your specific installation situation and would like guidance, feel free to open a Technical Support ticket here => https://prgress.co/DevToolsSupport.

Lance
Top achievements
Rank 2
 asked on 31 Jan 2024
1 answer
19 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
20 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
25 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
27 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
32 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
41 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!

1 answer
22 views
When tried to run automated test cases in Telerik test studio, I keep getting message showing install extension. Even after installing the extension, I keep see the same message.
Elena
Telerik team
 answered on 24 Sep 2024
1 answer
23 views

Hi,

I use Firefox v. 130.0.1 (64-bit), Test Studio 231.3.29.0, plugin for Firefox is v. 2023.1.703.1. And yesterday I came across a problem: I run tests, but Firefox even not opens. 
In the report I see following: see attachment.

 

In this test I need to download files with original names. As I understood some time ago, I asked here about this (Ticket 1580780), there is no opportunity to download a file with original name using Chrome without extension, it requires to give a new name for the file. So, Firefox was  the only one browser which I could use for this test and now it also doesn't work. 

Can you help?

Elena
Telerik team
 answered on 23 Sep 2024
4 answers
60 views

Hi all,

 

I'm looking for advice on a coded step.

 

We have a WPF application which uses System.Windows.Controls.ListView as well as Telerik controls. I have a ListView with a specific name and I'd like to locate and cast it from the running app, so that I can then iterate through the ListItems within it.

 

I had assumed that I could use something similar to:

 


public void Survey_Control_Readonly_Switcher_CodedStep()
        {
            WpfApplication app = Manager.ActiveApplication;
            Assert.IsNotNull(app);
            
            System.Windows.Controls.ListView list = app.MainWindow.Find.ByName<System.Windows.Controls.ListView>("DisplayFieldItems");
            Assert.IsNotNull(list);
            
            foreach <etc....>
       }

 

But this does not seem to work, where it does if I use it with (e.g.):


Telerik.WebAii.Controls.Xaml.Wpf.RadGridView grid = app.MainWindow.Find.ByName<Telerik.WebAii.Controls.Xaml.Wpf.RadGridView>("ScriptGrid");

 

Does anyone have any pointers? I've gone through the code examples but not found anything relevant. I do have the correct assemblies loaded and called.

Lawrence
Top achievements
Rank 1
Iron
 answered on 15 Aug 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mila
Top achievements
Rank 1
Iron
Toya
Top achievements
Rank 1
Iron
Iron
Kyle
Top achievements
Rank 1
Omar
Top achievements
Rank 3
Iron
Iron
Iron
Les Baker
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mila
Top achievements
Rank 1
Iron
Toya
Top achievements
Rank 1
Iron
Iron
Kyle
Top achievements
Rank 1
Omar
Top achievements
Rank 3
Iron
Iron
Iron
Les Baker
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?