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
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.
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
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
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?
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.
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.