Telerik Forums
Testing Framework Forum
1 answer
25 views
how to launch Silverlight application using telerik testing framework in Microsoft edge browser
Elena
Telerik team
 answered on 13 Jan 2023
2 answers
53 views

Hello, 

I am having difficulty running tests using Telerik Testing Framework on a new laptop that was provided by my employer.  The framework works fine on my old machine, but I believe a firewall rule may be interfering with the Framework's ability to communicate to the browser or some kind of proxy.

When my test executes the line Manager.LaunchNewBrowser(configured to use a default browser of Chrome), I get this error:

System.ServiceModel.FaultException : The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

Server stack trace: 
ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: 
RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
IBrowserLauncher.LaunchBrowser(ILauncherOptions launchOptions)
HostsProxy.LaunchBrowser(ILauncherOptions launcherOptions)
ChromiumActions.LaunchCDPManagedBrowser(String startUrl, BrowserType browserType, Boolean windowVisible, String pathToBrowserExecutable)
ChromeActions.LaunchNewBrowserInternal(Boolean useExtension, String startUrl, Boolean disableWebSecurity, ProcessWindowStyle windowStyle)
ChromeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager)
Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
Manager.LaunchNewBrowser()
ManagerHook.LaunchBrowserAndBuildScenarioContainer() line 131

If I configure the default browser to FireFox, then the test runner seems to work.

The test runner works with Chrome on my old machine, so that leads me to believe that it is a security issue on my new machine.  I want to approach my tech support with details about what might need to be opened up on the firewall in order for this to work.

Can you provide guidance on what endpoints this might be trying to hit and are getting refused?

Or can you provide guidance on how to get more details about this FaultException? 

Thank you!

 

Jim
Top achievements
Rank 1
Iron
 answered on 14 Dec 2022
1 answer
190 views
We have a number of master/child data grids that I am having trouble testing.  The IDs are dynamic and I am unable to find a consistent way of accessing the master and child grids.  As an example, you can look at the demo on the Devextreme website.  https://demos.devexpress.com/ASPNetCore/Demo/DataGrid/MasterDetailView/  This does have a static ID for the master, I can't find any examples that don't.  In my test, I will need to select at least two different master records by clicking the caret to open the child grids.  The demo is read only but I will need to add rows and enter data into my child records.  Do you have any suggestions?
Plamen Mitrev
Telerik team
 answered on 12 Aug 2022
1 answer
70 views

I can't reproduce this bug on my local machine - I'm trying to help a remote co-worker - but when they get a Control and run .MouseClick(), the annotation shows a click in the correct location, but nothing happens. We're running the exact same code, with the same versions of Chrome and the Telerik Chrome Extension, but on my end clicks work just fine, and on their end, nothing happens. The strange thing is that typing text is working, just not clicking.

I found out how to enable trace logs and will look through them when I'm able to have my co-worker generate them, and I'll make sure we've got the same version of the Testing Framework itself installed, but other than that I have no idea what could be causing this issue. Some Chrome or Windows setting that I only have on my end that I don't know/have forgotten about?

Plamen Mitrev
Telerik team
 answered on 08 Aug 2022
1 answer
68 views

The code we use is

manager.ActiveBrowser.Cookies.SetCookie(cookie);

But when we getcookie, we found nothing.

Plamen Mitrev
Telerik team
 answered on 20 Jul 2022
1 answer
123 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
104 views

Hello!

After updating to Testing_Framework_2021_2_0809_1_Free we have an issue with our UI tests for WPF app.

Running tests failed with following exception:

'System.IO.FileNotFoundException : Could not load file or assembly 'Telerik.TestStudio.SourceControl, Version=2021.2.809.0, Culture=neutral, PublicKeyToken=f2078c57222e4731' or one of its dependencies. The system cannot find the file specified.'

This dll is missing in package.

And we could found it only in Test Studio installer.

So seems the package is broken as we could not get necessary DLL.

Plamen Mitrev
Telerik team
 answered on 02 Feb 2022
1 answer
264 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
297 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
185 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Torben
Top achievements
Rank 2
Iron
Scott Waye
Top achievements
Rank 2
Veteran
Iron
alex
Top achievements
Rank 2
Iron
Iron
Iron
Chris
Top achievements
Rank 1
Iron
Mohamad Javad
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Torben
Top achievements
Rank 2
Iron
Scott Waye
Top achievements
Rank 2
Veteran
Iron
alex
Top achievements
Rank 2
Iron
Iron
Iron
Chris
Top achievements
Rank 1
Iron
Mohamad Javad
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?