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:
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.
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.
Hi Team,
Iam automating WPF application. Is there a way to identify and verify colors.
Thanks,
Sreelakshmi
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?
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
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>
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
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.