Telerik Forums
Testing Framework Forum
3 answers
187 views
First, per this post, I know what I'm asking is not possible; however, I'm hoping to obtain clarification on a couple of things:

1. Clearly understanding that manipulation / interrogation of a web page, rendered within a System.Windows.Controls.WebBrowser control is not possible, do any of the Telerik products provide a comparable Wpf control that would allow this?  (I'm trying to keep within the Telerik eco system for as much of my test automation as possible)

2. Regarding supported browsers (BrowserType enumeration), the majority of the enumerations are self explanatory, but what is an example (high level) of a supported "NativeApp"

My scenario is attempting to implement E2E UI Automation for a WpfApplication which authenticates and stores user credentials and aggregates various Web Applications (toolsets) into a common UI executable. 

Thanks in advance,

Mike
Cody
Telerik team
 answered on 13 Sep 2014
6 answers
131 views
HI, 

I am new to TTF, and I am learning to build the framework within our company. I am trying to open the silverlight web page but getting errors.
I am using the method under to open the webpage:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ArtOfTest.WebAii.TestTemplates;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;
using System.Diagnostics;
using System.IO;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.TestAttributes;
using ArtOfTest.WebAii.Win32.Dialogs;
using ArtOfTest.WebAii.Controls.HtmlControls;



namespace WebPortalTests
{
    [TestClass]
    public class CreateCharts :BaseTest
    {
        public SilverlightApp OpenApplication()
        {
            Manager.Settings.Web.EnableSilverlight=true;
            Manager.LaunchNewBrowser();
            ActiveBrowser.Window.Maximize();
            ActiveBrowser.NavigateTo("http://Some web page");
            SilverlightApp app = ActiveBrowser.SilverlightApps();
            return app;
        }

    }
}

Can you please tell me if I am using the right API method to open the webpage? IF yes what is going wrong in the method?

Ivaylo
Telerik team
 answered on 12 Sep 2014
3 answers
82 views
Hi,

I have a working (Telerik Testing Framewokr) TTF 2014.2 on my PC1, using VS2012. By this I mean that the Samples/Testing Framework/QuickStarts_VSTS_CS solution builds and runs.

When I recently installed TTF on another PC (PC2 say), it indicated it was 2014.3. It also has VS2012. The QuickStarts_VSTS_CS builds fine but all tests fails to run with error :

> Initialization method QuickStarts_VSTS_CS.Advanced.MyTestInitialize threw exception. System.Configuration.ConfigurationErrorsException: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for WebAii.Settings: Could not load file or assembly 'ArtOfTest.WebAii' or one of its dependencies. The system cannot find the file specified. (C:\Users\kwee.tan\AppData\Local\Temp\TestResults\kwee.tan_WIL30598D 2014-09-06 17_18_05\Out\QuickStarts_VSTS_CS.DLL.config line 4) ---> System.IO.FileNotFoundException: Could not load file or assembly 'ArtOfTest.WebAii' or one of its dependencies. The system cannot find the file specified.WRN: Assembly binding logging is turned OFF.
> To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
> Note: There is some performance penalty associated with assembly bind failure logging.
> To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
> .
>    at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
>    at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
>    at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
>    at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
>    at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, ref Boolean isRootDeclaredHere)
>  --- End of inner exception stack trace ---
>    at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, ref Boolean isRootDeclaredHere)
>    at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, ref Object result, ref Object resultRuntimeObject)
>    at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
>    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
>    at System.Configuration.ConfigurationManager.GetSection(String sectionName)
>    at ArtOfTest.WebAii.TestTemplates.BaseTest.GetSettings()
>    at ArtOfTest.WebAii.TestTemplates.BaseTest.Initialize(String logLocation, TestContextWriteLine vsWriteLineDelegate)
>    at QuickStarts_VSTS_CS.Advanced.MyTestInitialize() in Advanced.cs: line 93


If I remove the app.config file in the project, the tests can run. So, I suspect something in the settings is different between TTF 2014.2 and 2014.3.

Look forward to hearing your explanation and solution for this.

Thanks,
Cody
Telerik team
 answered on 10 Sep 2014
3 answers
75 views
i am not able get the required date from kendo calender using selectDay method please suggest me method or property to get the required date with example but i am able to identify the calender and other properties like SelectedDate,NavigateToFuture all are working fine but i am not able to get the required date please help me in this
Boyan Boev
Telerik team
 answered on 09 Sep 2014
11 answers
88 views
Hi!

Is there any possibility to run tests on IE x64 or any other x64 browser using latest Telerik Test Framework?
Boyan Boev
Telerik team
 answered on 08 Sep 2014
1 answer
77 views
Hi,

I was able to use SendString in a text box, now it's not working anymore.

I'm able to use SetText succesfully though.
Boyan Boev
Telerik team
 answered on 29 Aug 2014
6 answers
86 views
Hello,

I recently downloaded a trial version of Test Studio and I'm having trouble getting the record and run functions to work in Firefox 30.0. IE, Chrome, and Safari all work perfectly, but Firefox does not run. I've read all of the tutorials I can find to fix this problem, but have had no luck in getting it to work. My extensions appear to be properly enabled. I've tried uninstalling and reinstalling both Firefox and Test Studio multiple times. My registry keys are all pointing to the correct place. But I am still unable to record and run tests.

I've attached a screenshot of the window that pops up in Firefox when I try to record and run tests. If someone could help me with this problem, I would be very grateful.

Also, when I click on the Exploratory Tool (the purple icon that was added with the extensions), I get an error message saying 'Cannot launch Telerik Exploratory Tool'. Is this connected to the problem I am currently having.

Thanks in advance,
Anna
Ivaylo
Telerik team
 answered on 27 Aug 2014
1 answer
326 views
Greetings,

My team is looking at what is required to keep in compliance with the license agreement when compiling on the build server and I'm receiving initial push back from our build engineers, stating they do not normally install third party frameworks on the build machine. 

Understood stipulations:
  • Our VS Test projects will not be released externally (only consumed / executed internally)
  • We, as a corporation, have an active support contract with Telerik.
I've reviewed the following forum posts, and Visio but am still unclear / have clarifying (possibly novice) questions: Questions:
  1. Is it possible to include the required WebAii dlls (or all if required for compliance) in a "dependencies" folder in our project, *solely* for compilation purposes, with the expectation that consumers within our team have Telerik Testing Framework locally installed for execution?  (Essentially checking the binaries into source control and referencing them from within the source control location)
  2. Is there a NuGet alternative so we can reference the NuGet package and have the solution dynamically reference the NuGet package.

I'm still pursuing discussions with our build engineers to implement at the Visio lays out, but if Telerik can provide clarification on what is / is not acceptable, it would be very appreciated.

Thanks!

Cody
Telerik team
 answered on 27 Aug 2014
1 answer
103 views
Hi,

I want to know if this Chrome extension https://chrome.google.com/webstore/detail/telerik-test-studio-chrom/pkkbbimilpjmghfhhppamgigileopnkc is configured for auto update, is auto update something built in the plugin or something I can configure mysef in Chrome setup?

Thanks,
Hatem.
Ivaylo
Telerik team
 answered on 26 Aug 2014
1 answer
104 views
Can you please provide sample code for Kendo Grid Sorting?
I didn't find a way to test this scenario.
Boyan Boev
Telerik team
 answered on 26 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Iron
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Iron
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?