Telerik Forums
Testing Framework Forum
1 answer
115 views

Hi there,

I've installed the Testing Framework. But when I don't see the sub menu 'TelerikTestingFramework' as part of the 'Test'menu item in VS2019 Enterprise and .NET Framework 4.8. 

In my projects I refere to the ArtOfTest.WebAii.dll file

 

Am I missing something?

Plamen Mitrev
Telerik team
 answered on 22 Nov 2019
18 answers
479 views
I upgraded my local version of the Testing Framework to 2014.3.903.  A lot of my tests are failing so I need to revert back to a previous version (2014.1.410).  I still have the installer for the previous version, but when I uninstall the new version and try to install the old version it says I'm unable to because it looks like I have a newer version already on my machine.  How can I install the older version?  Thanks!
Rumen
Telerik team
 answered on 25 Oct 2019
3 answers
468 views

I'm new to WPF and C#, but have been able to build a simple prototype test automation project using Telerik Testing Framework and C# in Visual Studio 2019.

The application I'm testing uses rich textfield UI objects called LookupButtons.It's a textarea object where you click a control to see a list of valid values. Using WPF Inspector, I can see all the values in an "ObservableCollection`1" object under the property CollnLookupDetails, but cannot figure out how to retrieve the ObservableCollection`1 object using Testing Framework. Is it possible to retrieve an ObservableCollection from a property?

In the attached screenshot, the application under test is on the left, with a LookupButton textarea. On the left is WPF Inspector, showing the LookupButton and its CollnLookupDetails property. There are many "LookUpDetails" objects in the collection. Those are the objects I want to get.

I may be attempting to do the wrong thing. Maybe there is a different way to get all the valid values in a WPF object collection? Any suggestions or pointers would be very much appreciated. Thank-you!

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
12 answers
263 views

Hello,

 

I am getting 'Storage Service unreachable popup error message when I tried to save a test. Test saves after clicking on Ok but I am wondering why this popup message.

Screenshot attached

Thanks,

-

Padmashree

 

 

 

 

 

Elena
Telerik team
 answered on 30 Sep 2019
0 answers
121 views

One of the activities I will be working on in the lab is a test framework. A few examples of features are:
*  Basic instrument control (E.g. Multimeters, Power supplies, Signal generators, Scopes, etc.);
*  Executing preprogrammed test sequences (created by one of the test engineers);
*  Register control over multiple data interfaces (JTAG, SPI, etc.)
The exact implementations of the different mentioned features are not important at the moment. However, important is that I do not know exactly how this program will be expanded in the future. New interfaces may have to be added, or different functionalities are needed to support the increasing complexity of our test cases.
a)  Please try to explain some important structures or methods to cope with these expansions in general.
b)  Can you think of any methods to make it easier for the test engineers to compose above mentioned test sequences?
c)  What techniques would you use to develop such a program? (Programming language, framework(s), tools, etc.). Please explain your answer.

 

Can anyone please help me by providing a short/simple answers for those questions? Thanks in advance!

Filip
Top achievements
Rank 1
 asked on 01 Aug 2019
5 answers
193 views

I'm trying to run my tests in Jenkins. Is there a way to implement tests using Telerik Testing Framework to Jenkins? I couldn't find any information about this on the website. I only saw information for Test Studio and Jenkins. 

 

This is the error I'm seeing when I ran tests in Jenkins.

<ErrorInfo>
          <Message>Initialization method ReconciliationTests.DefaultCashTests.TestInitialize threw exception. System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'ArtOfTest.WebAii.Messaging.Process.ExecutionMediator' threw an exception. ---&gt; System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information..</Message>
          <StackTrace>    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at ArtOfTest.WebAii.WebExtensions.StartPageProviderFactory.StartPageProviderFactory.RegisterProviders()
   at ArtOfTest.WebAii.WebExtensions.StartPageProviderFactory.StartPageProviderFactory..ctor()
   at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator..ctor()
   at ArtOfTest.WebAii.Messaging.Process.ExecutionMediator..cctor()
 --- End of inner exception stack trace ---
    at ArtOfTest.WebAii.Core.Manager.SetNewBrowserTracking(Boolean enable)
   at ArtOfTest.WebAii.Core.Manager.Start()
   at xxxTests.xxxTests.TestInitialize() in C:\Users\Public\Documents\Jenkins\workspace\xxx\xxxTests\xxxTests.cs:line 33
</StackTrace>
        </ErrorInfo>

 

 

Please see the attachment for build set up in Jenkins. 

Elena
Telerik team
 answered on 09 Jul 2019
1 answer
3.7K+ views
I've got a RadComboBox that I'm trying to clear the selection on. There doesn't seem to be a method on the combo box itself to do it, and I can't find a way to get ahold of the "Clear Selection" button I've enabled on the combo box. The SelectedIndex property isn't nullable, so I can't do that, and it doesn't have a "SelectedValue" property.

Surely there's got to be an easy way to do this.
Tunde
Top achievements
Rank 1
 answered on 25 Jun 2019
6 answers
208 views

Hi, 

My problem concerns handling OpenFileDialog. I have a TestMethod that consists of 3 separate methods (e.g. A,B and C) which are doing next steps of whole process. Step C should handle OpenFileDialog and it does this when acts as a separate test but when I run everything in one test, the step C can't handle OpenFileDialog. Sometimes it happens that it will catch and handle this window, but in most cases it throws a exception (System.TimeoutException:...). I tried to use in different combinations Thread.Sleep but it doesn't work. Can it depend on the duration of the test? When I run each test individually, everything is fine all works as it should. 

var dialog = OpenFileDialog.CreateOpenFileDialog(Manager.Current.ActiveApplication, button, path, windowTitle);

Manager.Current.DialogMonitor.AddDialog(dialog);
Manager.Current.DialogMonitor.Start();
ClickAndWait(buttonClickName);
dialog.WaitUntilHandled();
Manager.Current.DialogMonitor.Stop();

 

I would like to emphasize once again that everything works when it performs as a single test
Best Regards

Plamen Mitrev
Telerik team
 answered on 13 May 2019
5 answers
498 views

The installer recognizes Visual Studio 2019 Community Edition for other products but not for Testing Framework.

See screenshot.

Elena
Telerik team
 answered on 08 May 2019
1 answer
188 views

I'm getting this error: 

Exception thrown executing coded step: 'Fill In Debit Card'.
Invalid input type 'Tel' for this control. Control was expecting 'Text'

when attempting to populate data in a field which for some reason is set up as TEL type.

Code below from website:

<input name="PaymentOptions.AccountNumber" aria-required="True" autocomplete="off" data-val="true" data-val-length="Please enter a valid account number, no longer than 8 digits." data-val-length-max="8" data-val-regex="Oops! Your account number should comprise only numbers. Please can you check it's correct? Thanks!" data-val-regex-pattern="^\d+$" data-val-required="Please enter an account number" id="AccountNumber" type="tel" value="">

 

This was working previous to the recent upgrade of Telerik - is there a way to fix this other than changing the web code to text type?

Could I revert to the previous version of Telerik? If so how do I do this?

Thanks

Elena
Telerik team
 answered on 02 May 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?