Telerik Forums
Test Studio Forum
3 answers
225 views

Generally work flow of the Telerik Test Studio Test Scripts will be as follows: 

  1. Record required number of test scripts on telerik test studio under a sample project
  2. Group these recorded test cases as a list inside the sample project
  3. Create a Scheduling  server which
    1. creates a database on the machine which has sql server instance and also registers with machine which has database to store and retrieve test results when test scripts execution completes or failures
    2. Stores information about the smtp server to send email notifications when test scripts execution completes or failures
    3. Defines the output or run result folder paths for storing results information as files.
  4. Create an Execution server which is responsible for execution of test scripts
  5. Establishing a test connection between test scripts folder and machine which has database.
  6. Defining the test scripts execution frequency cycle.(i.e., daily/weekly/monthly/yearly/timely)

  • Scheduling server – responsible for identifying the time frequency/internal to enable to execution server to execute test scripts and storing the results which completed or failed
  • Execution server – responsible for execution of test scripts and sending execution details to scheduling server.

 

Once, the above steps are performed, without any user explicit action, test scripts are executed and details about executed test scripts are stored in the database. 

http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/scheduling-test-runs/create-a-scheduling-server.aspx 

To view the details of execution of test scripts, currently we have two options. 

  1. Results display in Telerik Test Studio under MMXUITestScripts application and exporting them to word/excel/pdf etc., (or)
  2. Direct table view of database where results are stored

My Questions:

Do we have chance to show dashboard kind of stuff with test scripts display and able to execute  from dashboard with ny button clicks and see their details over dashboard?

Ex: .Net or Silverlight based UI for displaying list of test scripts which are recorded on telerik test studio projects and having ability to start/stop/pause/cancel and see their current and previous results

The reason behind asking this, is my management people were more interested to view the test scripts recorded as list on dashboard and they need ability to start/stop/pause/cancel and view current and previous results for comparision.

Any hopes here..

Cody
Telerik team
 answered on 25 Aug 2011
6 answers
387 views
Hi,
I've downloaded the trial version of 2011.1.520.0 in order try and fix another problem, but now when I run some of my existing scripts I get the error below. I recorded a new script almost identical to the existing ones and that seems fine. I hope I don't have to recreate my entire project...
Thanks
Clive

------------------------------------------------------------
'23/05/2011 15:48:13' - Starting execution....
'23/05/2011 15:48:18' - Detected custom code in test. Locating test assembly: Nando_s_Success_Management_Smoke_Test.dll.
'23/05/2011 15:48:18' - Failure detected during execution. Details:
------------------------------------------------------------
'23/05/2011 15:48:18' - System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'23/05/2011 15:48:20' - Test completed!

 

William
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
113 views
We just purchased Telerik Premium about 2 weeks ago and now Telerik is offering us "a deal" to upgrade to Ultimate. Well, its not really a deal, b/c it's still expensive. But they claim we can take advantage of Test Studio and and JustMock.

After reading the info on Test Studio, I'm not sure I understand the hype behind Test Studio, and how this is suppose to improve our productivity. Please, can someone (who has used Test Studio in the real world) explain or illustrate what I can gain by upgrading and using Test Studio?

Thanks,
Steven
Daniel Levy
Telerik team
 answered on 24 Aug 2011
1 answer
102 views
Hi,

I have a problem with IE8.  Lets say I have a test with 13 steps, log in, navigate to other page, click some buttons and validate.

Sometimes execution is fine but most of the time I get this error:

Failure Information: 
~~~~~~~~~~~~~~~
Unable to locate element. Details: Attempting to find [Html] element using 
Find logic 
 (Html): [id 'Exact' ctl00_DefaultContent_LabelFLOverview] AND [tagname 'Exact' span]

Unable to locate element. Search failed!

Are there some alternative ways to finding, locating elements and activating them?

cheers
Eyjolfur Bjarnason
Stoich
Telerik team
 answered on 24 Aug 2011
1 answer
129 views
Hi Telerik/Cody,

Today i came across below issue...pls help me here...

I recorded a test case or script from login screen giving uid n pwd then after search for some results...

previously, i did it and executed and so went smoothly..

but suddenly from today morning, the application where my test case or test script will run is throwing some exception msg related to silverlight...so its opening small popup window hence, it is allowinf runtime to execute the recorded steps..

what shoud i do to escape the error or exception window, so that my test script or test case will run avoiding or ignoring the msg.

pls help me here...

Thanks.,
Hari
Plamen
Telerik team
 answered on 24 Aug 2011
2 answers
123 views
I am currently building record-and-playback tests in Test Studio but want to make more robust tests using Visual Studio. I have the Dev Edition but cannot seem to easily open any of the tests I have built in Test Studio.
Cody
Telerik team
 answered on 23 Aug 2011
4 answers
348 views
I'm getting the following build error whenever I try to build my project  

"Error 1 The item "Pages.g.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets 160 9

Everything I've read online indicates that there is a second reference to Pages.g.cs in the .csproj file or a duplicate .resx file is in the project. I've checked both numerous times and have been unable to resolve the issue.... HELP!

I can see that pages.g.cs is listed twice in the build log, but I'm completely at a loss as to why.
Alex
Top achievements
Rank 1
 answered on 23 Aug 2011
1 answer
172 views
Hi

I have a test I made on my local machine and trying to run it on a different one.
On the first step - launch IE I get the error below.

I installed ArtOfTest framework
And made all IE updates here.

Any advise?

Thanks

LaunchBrowser


System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TimeoutException: Wait for condition has timed out

   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)

   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)

   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)

   at TestAgencySuiteUI.UiElementWrapper.LaunchBrowser(String url)

   at TestAgencySuiteUI.Actions.LaunchBrowser(String url)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at fitlibrary.Method.Invoke(Object[] theParameters)

   at fitlibrary.Method.Invoke(Fixture theFixture, IEnumerable theCells)

   at fitlibrary.FlowFixtureBase.ExecuteMethod(Method theMethod, CellRange theCells)

   at fitlibrary.FlowFixtureBase.ProcessFlowRow(Parse theCurrentRow)

Plamen
Telerik team
 answered on 23 Aug 2011
2 answers
69 views
The FileUpload dialog in firefox is returning a failed step, although the dialog is being handled properly (filename being entered and the proper close method). This has only been an issue in Firefox; IE8 does not experience the same problem on my Windows 7 system. Version is 2011.1.729.0.

Thanks
Matthew
Top achievements
Rank 1
 answered on 22 Aug 2011
0 answers
122 views
cancelling THIS POST...

AS PROBLEM GOT RESOLVED...
wish
Top achievements
Rank 1
 asked on 22 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?