Telerik Forums
Testing Framework Forum
10 answers
200 views

Hi Telerik team,

We have used the RadMasked textbox control for home phone number field of Standard mask type.(___-___-____) which allow 10 digits home phone number and I want to calculate the Radmasked textbox length in coded step.

I have write the following code in script test.

object objhomephone= GetExtractedValue("RmtbHomePhoneNumberText");
int homephone= Convert.ToInt16(objhomephone.ToString().Length);
System.Windows.Forms.MessageBox.Show(homephone.ToString());

I m getting length 12 in message box without entering any digits in home phone number field.
How should i calculate the exact number of digits entered in the rad masked textbox??? 


Thanks,

Elliot
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 19 Feb 2026
1 answer
60 views
Is there an updated release of Telerik Testing Framework that supports .NET 8.0?  If not, Is there a plan to release one soon?  Thanks
Ivaylo
Telerik team
 answered on 27 Nov 2025
1 answer
191 views

Hi,

I've created a simple test for a WPF application that clicks a button in my main window to open another window and then clicks a button in this window. Half of the time the test executes as expected, half of the time it fails, because the window was not found. I added a delay before clicking the second button to make sure, that the window is fully loaded. The title of the window is always the same.

I've tried to create a test like this for another window, but there I have the same issue.

Why is the Test Studio not able to find the window and is there anything I can do to fix this? 

 

This are the logs:

Overall Result: Fail
------------------------------------------------------------
'09.10.2024 11:40:43' - Executing test: '10 - Storage Overview', path: 'Overviews\10 - Storage Overview.tstest.'
'09.10.2024 11:40:43' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2024.3.813.1'.
'09.10.2024 11:40:43' - Starting execution....
'09.10.2024 11:40:47' - Detected custom code in test. Locating test assembly: 3S_Tests.dll.
'09.10.2024 11:40:47' - Assembly Found: C:\TestStudio\3S_Tests\bin\3S_Tests.dll
'09.10.2024 11:40:47' - Loading code class: '_S_Tests._0___Storage_Overview'.
------------------------------------------------------------
------------------------------------------------------------
'09.10.2024 11:40:47' - Using 'C:\MLM Apps\3S Debug\ProbenverwaltungV3.exe' application.
'09.10.2024 11:40:57' - 'Pass' : 1. Click BtGenerelOverviewCopyButton
'09.10.2024 11:41:02' - 'Pass' : 2. Wait for '5000' msec.
'09.10.2024 11:42:03' - 'Fail' : 3. Desktop command: LeftClick on HeaderButtonRadtogglebutton
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to find the window 'General Overview' inside application 'C:\Apps\3S Debug\ProbenverwaltungV3.exe'
---- Current Windows: ----
--------------------------

InnerException:
System.Exception: Unable to find the window 'General Overview' inside application 'C:\Apps\3S Debug\ProbenverwaltungV3.exe'
---- Current Windows: ----
--------------------------
 ---> System.TimeoutException: Wait for condition has timed out
   bei ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   bei ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   bei ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   bei ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
   bei ArtOfTest.WebAii.Wpf.WpfApplication.WaitForWindow(String caption, Int32 timeout)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei ArtOfTest.WebAii.Wpf.WpfApplication.WaitForWindow(String caption, Int32 timeout)
   bei ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'09.10.2024 11:42:03' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'09.10.2024 11:42:03' - Overall Result: Fail
'09.10.2024 11:42:03' - Duration: [1 min: 15 sec: 234 msec]
------------------------------------------------------------
'09.10.2024 11:42:03' - Test completed!
Elena
Telerik team
 answered on 10 Oct 2024
1 answer
238 views

Recently we found an issue about popup in Edge.

when we do some wrong behaviors, alert will show up. just like this (https://demo.atata.io/products).

And we used dialogElement(the namespace is ArtOfTest.Common.Extensions) to catch the message. It works but after that we can't control the page. Whatever we tried like refresh the page or press enter by code, it always stuck until alert is closed manually or time out. Is there some one has the same situation? And if so, how to solve it? 

Below is the code:

Elena
Telerik team
 answered on 19 May 2023
1 answer
465 views
Hey All,

Being an expert I am here to know why someone need to use this framework for software testing?
Plamen Mitrev
Telerik team
 answered on 29 Mar 2022
1 answer
561 views

Hi - apologies if this was answered but I haven't been able to find it via search.

 

Will the Testing Framework support .NET 5 or .NET 6 XAML applications on Windows?

We're converting a .NET Framework application and are running into compilation problems when we target "net5.0". Targeting "net461" works fine. Is it possible to write a .NET 5 assembly that links to the Telerik Testing Framework?

If not, is there another product that can be used from .NET 5? Thanks!

Elena
Telerik team
 answered on 29 Apr 2021
2 answers
624 views

Hi Team,

we want to run the automated UI suite not launching the browser (i.e headless state) to ensure we can take advantage of running the tests nightly.

can any one help me understand how to do this.

 

Thanks in advance.

 

Elena
Telerik team
 answered on 12 Mar 2021
1 answer
394 views

Hi

Below is the code to iendify a Kendo Input control and enter the text.

 

 public Kendoinput Span
        {
            get
            {
                //return driver.ActiveBrowser.Find.ByAttributes<KendoInput>("class=~k-widget", "class=~k-autocomplete", "class=~txtBusinessIndustry", "GroupIndex=0");
               
            }
        }

It works perfectly when I execute it with first row of MS Test Data driven with CSV.

When the second row is started to execute, the element is not identified and no error message is displayed.

Any one, please help on this. 

 

Thanks,

Vedha

 

Plamen Mitrev
Telerik team
 answered on 13 Oct 2020
7 answers
300 views

Hi,

 

I'm experiencing troubles trying to capture screen of the browser Firefox v. 78.0.2 x64. It always captures empty screen, which does not even look simillar to the browser looking. Please see the attached picture.

I'm calling

            Log.CaptureBrowser(ActiveBrowser);

And I have also tried 

            ActiveBrowser.WaitForPageLoad();

            Log.CaptureBrowser(ActiveBrowser);

 

I have tried the same using Edge Chromium and it worked correctly.

 

Thank you for any advice!

 

Regards

Tomas

Plamen Mitrev
Telerik team
 answered on 29 Jul 2020
7 answers
1.4K+ views
Hello Telerik,

There is ScrollViewer WPF element in the application. I was able to identify it, but I couldn't find any methods how I can scroll the content inside the element. How can I do so?

Thank you.

Kind Regards,
Stanislav Hordiyenko
Elena
Telerik team
 answered on 13 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?