Telerik Forums
Test Studio Forum
4 answers
159 views
 Hello,
 
 When I add package ReactiveUI.WPF to WPF app, the record function doesn't work.(Only excute test run).
 Could you give me a advice in this situation?
 
 Thanks
 
 Regards,
 Chulmin yang.
Plamen Mitrev
Telerik team
 answered on 05 Apr 2019
11 answers
233 views

I have Windows 10 and just did the 1803 upgrade.   Before the upgrade I had no issues with recording Internet Explorer, but now when I try to record I get "Unable to launch recorder" error.   I do notice the browser is coming up very slowly, so that could be the issue.  The log is as follows:

03/20 09:10:53,Telerik.TestStudio.Desktop.exe(10468:1),Uncategorized] Orchestrator._iUIProject_TestSelected() : Test 'Homepage Services' selected.
[03/20 09:11:05,Telerik.TestStudio.Desktop.exe(10468:12),Framework] Manager.KillNonAutomatedBrowsers() : Closing non-automated 'iexplore' browser instances
[03/20 09:11:05,Telerik.TestStudio.Desktop.exe(10468:12),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=13736, Path="C:\Program Files\internet explorer\iexplore.exe", Arguments="-nomerge https://www.google.com").
[03/20 09:11:10,Telerik.TestStudio.Desktop.exe(10468:12),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=788994)...
[03/20 09:11:15,Telerik.TestStudio.Desktop.exe(10468:12),Recording] IERecorderManager.LaunchNewRecorder() : EXCEPTION! (see below)
     Outer Exception Type: System.ApplicationException
     Message: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)
          at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
          at Telerik.TestStudio.Web.IERecorder.IERecorderManager.LaunchNewRecorder(Action`2 asyncCallback, FloatingUIMode mode, BrowserType browserType, String arguments)

     Inner Exception Type: System.TimeoutException
     Message: Wait for condition has timed out
     HRESULT: 0x80131505 (Official ID (if app.) = COR_E_TIMEOUT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5381)
     Call Stack:
          at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
          at ArtOfTest.Common.Win32.Connector.Attach(IntPtr& handle, Boolean findTabWindow, Int32 waitTimeout)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)

If it is the browser coming up too slowly, how can I delay the recorder so it will attach when the browser is ready?

 

 

 

Elena
Telerik team
 answered on 03 Apr 2019
5 answers
289 views

I have a few tests in my suite, and the only way I can really verify that something is occuring the way it is supposed to, is by saving a screenshot of that specific element area and comparing it to another file.

I have custom implemented code that handles the actual comparison itself exactly how I want to.

The thing I'm having the most issue with is trying to figure out the best way to take a screenshot of the element I'm comparing. It is a div with a bunch of img's inside of it.

I basically want to be able to screenshot the div, with all of the img's inside it, and compare that screenshot to a predetermined image.

Any help pointing me in the right direction would be appreciated.

Elena
Telerik team
 answered on 25 Mar 2019
5 answers
114 views
Hello,

the last TestStudio release has a bug with a screenshot in a test list report.


A project which displays the bug you can load from here https://drive.google.com/open?id=0B0EHXWVdmSJFeTZKdFFUWUVrQzA.

My result is inside the project.

To reproduce the bug you can run BugReport test list.

Bug description.

A screenshot of the first failed step for each test from a test list is wrong. The top place of the screenshot is valid other part is wrong (Fail1_0_ImageOnFailure.png, Fail1_0_ImageOnFailure.png from the project results).

The test viewer displays the wrong screenshot for the first failed step (for each test from test list). For the second failed step, we see the screenshot which is expected for the first one. This offset by one screenshot is saved for all other failed steps of the test.
Elena
Telerik team
 answered on 25 Mar 2019
1 answer
111 views

Hi,

   When i kept scripts run in RDP and minimize the screen scripts are not running for that RDP. Can anyone give me solution for this?

 

Thanks & Regards

Vimala Padakanti.

Plamen Mitrev
Telerik team
 answered on 25 Mar 2019
3 answers
207 views
I have recorded a test that selects an element in a tree view.  After recording it, I try to run the test and I get the following error message:
----------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Invalid control '[Element: 'li:13']'.  Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
InnerException:
System.ArgumentException: Invalid control '[Element: 'li:13']'.  Control does not match FindExpression '[class 'Contains' RadTreeView RadTreeView] AND [TagName 'Exact' div]'
   at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
   at Telerik.WebAii.Design.Translators.Html.TreeView.RadTreeViewActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--------------------------------------------------
I am new at this, and I have tried to tweak the the command, but I continue to get this error. 

What is causing this problem?  What should I change?
What other information do I need to post that will help diagnose the problem.?
Elena
Telerik team
 answered on 19 Mar 2019
1 answer
223 views

Hello.

I have form with mandatory fields in WPF application and code that makes tests based on Telerik Testing Framework. When my controls (TextBoxes in this case) are in error state they are outlined with red border (as it is shown in the attached file). Windows control TextBox has properties Validation.HasError and Validation.Errors (collection). Visibility of red border depends on them. But wrappers such as ArtOfTest.WebAii.Silverlight.UI.TextBox does not expose access to Validation. I tried to get access to the red border that is actually made by AdornerDecorator through the VisualTree. But ArtOfTest.WebAii.Controls.Xaml.Wpf.AdornedElementPlaceholder does not have AdornedElement property that exists in the wrapped AdornedElementPlaceholder  and allows to connect certain Adorner with the TextBox element it is created for. 

Is there any approach how I can check in code fields validation state ?

Elena
Telerik team
 answered on 15 Mar 2019
1 answer
91 views
I am very new to mobile testing . I am trying to test web application on Mobile . Can we use mobile network instead of wifi . I tried to change the proxy setting in APN but after that mobile internet was not working . Do you have any suggestions to solve this
Deyan Kalinov
Telerik team
 answered on 15 Mar 2019
1 answer
89 views
I have created a number of web tests that follow the processes within our application.  I am able to successfully run each separate web test and run them all together in a load test.  However, I want to be able to measure each separate web test within the load test i'm running.  Is there a way to do that?
Daniel Djambov
Telerik team
 answered on 13 Mar 2019
5 answers
613 views

Hello,

I have an issue with some tests that are using Simulate Real Click. Recently a new component was added to the tested application. This component it's added by loading a javascript in the web page (I moved the javsacript in head, body, outside body is the same behavior).

The javascript is inserting a div element in the DOM. Instead of clicking on the needed element from the page, test studio it's clicking on the loaded div by javascript instead of correct DOM element. The needed element it's searched in the DOM by using id and css class .

Is this normal? How can we correct this?

The telerik test studio version is : 2016.3.928.0

Thanks,
Alex

Plamen Mitrev
Telerik team
 answered on 12 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?