Telerik Forums
Test Studio Forum
3 answers
109 views

Hello,

I have 3 different tests with the same purpose, which is: testing the contents of a TextBlock on the landing page of my WPF application.

The first test always fails,no matter how I reshuffle them. This is what the log says:

 

 

Overall Result: Fail
------------------------------------------------------------
'4/15/2019 8:13:47 PM' - Executing test: 'DoStuffWithMyApp1', path: 'DoStuffWithMyApp1.tstest.'
'4/15/2019 8:13:47 PM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2019.1.408.0'.
'4/15/2019 8:13:47 PM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'4/15/2019 8:14:06 PM' - Using 'C:\MyApp\Dev\Client\Client.Shell\bin\Debug\Client.Shell.exe' application.
'4/15/2019 8:14:26 PM' - 'Fail' : 1. Verify DevelopmentTextblock.Text 'Equal' 'Development R1.0.0.0'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Wpf] element using 
Find logic 
 (Wpf): [TextContent 'StartsWith' Development R1.] AND [XamlTag 'Exact' textblock]

Unable to locate element. Search failed!

Learn more about finding elements here:
http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/unable-to-locate-element
------------------------------------------------------------
'4/15/2019 8:14:26 PM' - Detected a failure. Step is marked 'ContinueOnFailure=True' continuing test execution.
'4/15/2019 8:14:27 PM' - 'Pass' : 2. Verify 'DevelopmentTextblock' text Same 'Development R1.0.0.0'
'4/15/2019 8:14:28 PM' - 'Pass' : 3. Verify 'DevelopmentTextblock' text Equal 'Development R1.0.0.0'
------------------------------------------------------------
'4/15/2019 8:14:28 PM' - Overall Result: Fail
'4/15/2019 8:14:28 PM' - Duration: [0 min: 22 sec: 804 msec]
------------------------------------------------------------
'4/15/2019 8:14:31 PM' - Test completed!

 

 

I have tried to play with the timing settings (e.g. Wait on elements) but that didn't help much.

I think it is important to say, the application has a splash screen and I have the sensation that the first test is fired before that it gets closed.

The other tests are launched when the landing page is loaded and they succeed.

 

Regards

 

Elena
Telerik team
 answered on 22 Apr 2019
1 answer
100 views
Hi everybody,

I have a "test as step" in my parent test, and it's inheriting the parent data source. The child test is using locator which is data driven. Both child and parent tests are working on the same data, and child test works just fine on its own, but when I run it inside the parent I'm getting exception "The data column was not found".  What seems to be a problem?
Elena
Telerik team
 answered on 18 Apr 2019
1 answer
77 views

Ao tentar executar uma escrita de casos manuais, não consegui anexar a evidência. Existe uma forma de gravar o vídeo ou anexar à palavra a evidência?

 

Obrigada.

Elena
Telerik team
 answered on 16 Apr 2019
1 answer
95 views

HI,

I am trying to execute a load testing that I recorded, selected the no: of users and click Run and getting the following error:
We are Unable to run the test.
Please make sure that the controller you are using have enough User Allocated to run the test.

Is there a minimum no: of user that we have to select? Currently, I have selected 1 user to start and 5 to end with.

Thanks,
Ritu

Elena
Telerik team
 answered on 10 Apr 2019
4 answers
524 views

Hi,

We are facing issue related with execution of test on Edge Browser. It gives the following error:

==============================================================================

'04-04-2019 18:48:38' - ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.WebDriverException: Cannot start the driver service on http://localhost:49948/.
   at ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.WebDriverService.Start()
   at ArtOfTest.WebAii.Messaging.Process.WebDriverCommandProcessor.StartSession(String serverPath, Manager manager)
   at ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.EdgeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)

====================================================================================
Our Windows 10 Version is: 1809 (OS Build: 17763.379)

It was working fine on the previous build of Windows 10.

What I should do so that test will get executed on Edge browser. On IE and Chrome, it is working fine.

With Warm Regards,

Sumit Kumar

Sumit
Top achievements
Rank 1
 answered on 09 Apr 2019
4 answers
151 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
226 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
274 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
108 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
104 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?