Telerik Forums
Test Studio Forum
2 answers
53 views

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

İsmail Yusuf
Top achievements
Rank 1
 answered on 08 Oct 2015
7 answers
100 views

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

 ​

Jakob
Top achievements
Rank 1
 answered on 07 Oct 2015
1 answer
217 views

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

 

Ivaylo
Telerik team
 answered on 06 Oct 2015
4 answers
286 views
Hi Guys

Quick Question


Is it possible to use test studio with BDD? I've been looking through that posts and couldn't find anything with would marry the two things together. I know that they are other posts out there about JustCode and Jasmine.

Thanks

Chris
Cody
Telerik team
 answered on 05 Oct 2015
2 answers
74 views

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.

 

Ivaylo
Telerik team
 answered on 05 Oct 2015
16 answers
406 views
Hello ,

I'm new to testing and obviously the WebUI Test Studio QA and I have some issue with the windows security dialog which looks like the one in the attached image . The regular login dialog handler does not work correctly since it fills the login information in the wrong place and does not fill it in the "use another account" fields. So is there is away to work around this issue.

Thanks you.
Ivaylo
Telerik team
 answered on 02 Oct 2015
1 answer
33 views
I'm having issues locating controls because we create controls dynamically. I'm using the "Find the live Version" feature but its forcing me to test with IE and I would like to use chrome. I would also like to know what other ways I can accomplish this issue of finding dynamically created controls. Please provide a sample project if possible; I'm using Test Studio within VS 2013.
Boyan Boev
Telerik team
 answered on 02 Oct 2015
6 answers
102 views
Hi,

I am facing the following error which executing a test step. This test step performs a simple function of retrieving value from text file and copying it into excel. The test step does what i am intending but log shows failed with messags "Fail - 0 passes out of total 0 executed." and with the following error message

------------------------------------------------------------
'08/21/2013 11:30:48 AM' - Error encountered during execution.
------------------------------------------------------------
'08/21/2013 11:30:48 AM' - Error inside the callback listener. Error: System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at ArtOfTest.WebAii.Design.DesignTimeExecution._runner_TestCompleted(Object sender, TestCompletedEventArgs e)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.OnTestCompleted(ExecutionReturnValues result)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.CallBackListener()
------------------------------------------------------------
'08/21/2013 11:30:48 AM' - Aborting....

I could not understand where am I going wrong. Can somebody please help me with this. Also, please let me know for further information required.

Regards,
Prerna
Sandip
Top achievements
Rank 1
 answered on 01 Oct 2015
5 answers
113 views

 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)

Ivaylo
Telerik team
 answered on 30 Sep 2015
1 answer
61 views

 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

Cody
Telerik team
 answered on 28 Sep 2015
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?