Hi,
Is there any way to change same steps of tests that are part of project? For example; in my test in my project, I navigate a site and enter site using username and password. Now, this navigation adress and enter credentials are changed. How can I change this steps with in all my test. Don't say copy steps and paste. For example; I mean I have approximately 131 tests in a project.
Thanks in advance
Hi,
I've been using Test Studio for about a year now to record automated wpf tests for our in-house platform. Process was hampered by frequent crashes/freezes on my Win 7 station. Since upgrading to a new workstation with Win 8.1 TS recording has become more stable, but now I'm haunted by a new problem.
I use the 'Highlight Element' function frequently, but when our application opens popup windows (for instance a floating window is opened to edit a case in the system), the risk of a crash increases dramatically. And if another window becomes active (Say a confirmation/leave note box to confirm the previous Edit), 'Highlight Element' will almost certainly crash.
A developer made a mock-up of our application that reproduces this behaviour, you can see a recording of it here:
http://www.screencast.com/t/AsnveylhN
Does anyone out there have similar experiences? Any solutions?
Many thanks in advance
Jakob
I have a questions if anyone can assist
1. I am trying to slow down the playback speed. Can you direct me to the settings that directly affects this?
Randell Balkaran
Hi,
So I have the following scenario, I have a 'controller' test that runs different sets of tests now they are all called using test as step.
Now I want to create a report based on the following
Steps passed.
Steps not ran.
Step failures.
I did take a look at the documentation at http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file, but that did not help as it only writes the 'controllers' results to the log file and not all the child tests results. I have also tried creating a property on the test and setting it via code but each time the test returns to the 'controller' the property is set to null again (this is rather annoying but gather that you clear all resources from memory once that test is done?) so that did not work for me, not at all. So I really just want to get the report working for myself, We do and will use the built in report but it does not give me the results I require. Also I have set the test to have a OnAfterTestCompleted and like I said it only gives me the 'controllers' results.
Lately I am experiencing crush of Test Runner (ver. 2015.1.528) in Google Chrome when a test deals with a pop-up window. On the desktop version, I cannot replicate this issue. Any ideas what could cause this_
[09.08 13:04:46,ArtOfTest.Runner.exe(3928:6),Execution] ExecutionEngine.NotifyBeforeStepExecuted() : Executing step 2 "Connect to pop-up window : 'http://myhours.com/resources/gettingstarted'"...
[09.08 13:05:01,ArtOfTest.Runner.exe(3928:6),Error] ExecutionEngine.CatchExecuteStepException() : EXCEPTION! (see below)
Outer Exception Type: System.OperationCanceledException
Message: Exception occurred waiting for the new browser to connect.
HRESULT: 0x8013153B (Official ID (if app.) = COR_E_OPERATIONCANCELED, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5435)
Call Stack:
at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.HtmlDialogHandlerDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
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.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
Hi,
We want to use the Current test Html instance variable to another tests.
Example: WebTest1
HtmlInputText txtleavename = Manager.ActiveBrowser.Find.ById<HtmlInputText>("txtLeaveName");
WebTest2
txtleavename.Focus();
txtleavename .Text="sick Leave";
So here we want to use the variable "txtleavename" in WebTest1 for multiple times in the WebTest2. How can we refer this variable without initialize again in WebTest2.
Thanks
Saravanan