Telerik Forums
Test Studio Forum
2 answers
152 views

I have parameterized one script but I find for every value script start to execute from the beginning.

I want to execute the particular step for different values on the open web page rather navigate from the begging.

Could you please help me out?

Sabyasachi
Top achievements
Rank 1
 answered on 08 Sep 2011
5 answers
281 views
Hi,

I'm currently creating a single test that would be needing 2 datasources. Is that possible?

I saw some documentation that they are using 2 tests for multiple data binding. That would mean that for our Test Studio Project will have many tests just to accomodate the other data binded test.

Thanks
Mark
Top achievements
Rank 1
 answered on 08 Sep 2011
1 answer
234 views
What is the easiest way to clear the text out of a HtmlInputText or HtmlTextArea control within csharp code?

Currently we are using the following coding logic, but I would prefer something cleaner.

 

 

Desktop desktop = new Desktop();

 

 

 

 

desktop.KeyBoard.KeyPress(Keys.Back, 1, repeatCount);

 

desktop.KeyBoard.TypeText(text, 2, 0);

Anthony
Telerik team
 answered on 07 Sep 2011
3 answers
209 views
Hi plamen,

i got below exception message suddenly from today morning.,

can you provide a solution for this issue..which am facing...

Thanks
Hari

-----------------------------------------------------------------------------------------------
<RunResult Type="ArtOfTest.WebAii.Design.Execution.RunResult" Version="2011.1.829.0">
  <TestListName Type="System.String">LoginMMX</TestListName>
  <StartTime Type="System.DateTime">2011-09-01 16:40:00Z</StartTime>
  <EndTime Type="System.DateTime">2011-09-01 16:40:04Z</EndTime>
  <DataCollectors />
  <TestResults>
    <Item Type="ArtOfTest.WebAii.Design.Execution.TestResult" Version="2011.1.829.0">
      <TestId Type="System.String">944d1817-f226-4c65-9f0f-20bcd8f158eb</TestId>
      <TestName Type="System.String">Login</TestName>
      <TestPath Type="System.String">Login.tstest</TestPath>
      <ProjectPath Type="System.String">
      </ProjectPath>
      <ResultType Type="ArtOfTest.Common.Design.ResultType">Fail</ResultType>
      <AutomationStepResults />
      <NotRunStepDescriptions>
        <Item Type="System.String">Navigate to : 'http://lmq3/sgx'</Item>
        <Item Type="System.String">radmaskedtextbox: click with '1' offset action.</Item>
        <Item Type="System.String">radmaskedtextbox: type 'sgx001' text action.</Item>
        <Item Type="System.String">LeftClick on Item1Textboxview</Item>
        <Item Type="System.String">Type 'sgx1234' into PasswordPasswordbox</Item>
        <Item Type="System.String">Wait for 'LoginTextblock' text Same 'Login'</Item>
        <Item Type="System.String">Click LoginButtonButton</Item>
        <Item Type="System.String">Wait for 'SGXTextblock' text Same 'SG X'</Item>
      </NotRunStepDescriptions>
      <PerStepMessages Type="System.String">------------------------------------------------------------
'9/1/2011 9:40:00 AM' - Starting execution....
'9/1/2011 9:40:00 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'9/1/2011 9:40:03 AM' - Detected custom code in test. Locating test assembly: IndividualScripts.dll.
'9/1/2011 9:40:03 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'9/1/2011 9:40:03 AM' - System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
   at System.Reflection.Emit.InternalAssemblyBuilder.get_Location()
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(Test testcase, 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)
------------------------------------------------------------
'9/1/2011 9:40:04 AM' - Test completed!
</PerStepMessages>
      <TotalNumberOfPassedSteps Type="System.Int32">0</TotalNumberOfPassedSteps>
      <ExecutingTestStepCount Type="System.Int32">0</ExecutingTestStepCount>
      <TotalNumberOfNotRunSteps Type="System.Int32">0</TotalNumberOfNotRunSteps>
      <IsDataDrivenResult Type="System.Boolean">False</IsDataDrivenResult>
      <SeparatorLineCharCount Type="System.Int32">60</SeparatorLineCharCount>
      <ExecutionType Type="ArtOfTest.Common.Design.ExecutionType">QuickExecution</ExecutionType>
      <EndTime Type="System.DateTime">2011-09-01 16:40:03Z</EndTime>
      <StarTime Type="System.DateTime">2011-09-01 16:40:00Z</StarTime>
      <DataIterationResults />
    </Item>
  </TestResults>
  <ResultId Type="System.String">4de5cb9d-9666-4496-a3dd-28677c767b39</ResultId>
  <Machine Type="ArtOfTest.WebAii.Design.Execution.Scheduling.Machine" Version="2011.1.829.0">
    <Id Type="System.String">00000000-0000-0000-0000-000000000000</Id>
    <NetworkName Type="System.String">PPIMMXW20</NetworkName>
    <OperatingSystem Type="System.String">Windows 7</OperatingSystem>
    <InstalledBrowsers>
      <Item Type="ArtOfTest.WebAii.Design.Execution.Scheduling.BrowserInformation" Version="2011.1.829.0">
        <BrowserType Type="ArtOfTest.WebAii.Core.BrowserType">InternetExplorer</BrowserType>
        <Version Type="System.String">8.0.7600.16385</Version>
      </Item>
    </InstalledBrowsers>
    <Status Type="ArtOfTest.WebAii.Design.Execution.Scheduling.MachineStatus">Ready</Status>
    <DBState Type="System.Int32">0</DBState>
  </Machine>
</RunResult>
--------------------------------------------------------------------------------------------------------------------------------
Cody
Telerik team
 answered on 07 Sep 2011
3 answers
272 views
Hi Cody/Plamen

I have another scenario like below...

when am executing a recorded test script or case....some times......a exception window.....like
    1. connection failure to db
    2. unhandled exception mesage etc.,

will appear at any point during my execution flow of my test script or case.....

Do we  have any option of exception handling at application level...so that if any exception appears should in future....it shoudl close by clicking ok/continue button so that it should continue my execution....

PLs help me here...by providng ur valuable suggestions...
thanks in advance..

Thanks.,
Hari
Cody
Telerik team
 answered on 07 Sep 2011
7 answers
326 views
anyone know how to get access to the controls in the param box the crystal displays when running a report so the values can be set
Anthony
Telerik team
 answered on 07 Sep 2011
3 answers
167 views
Hi,

is this possible to run automation webaii scripts wothout installling any Telerik QA/ Dev edition tools in operating system??

Anshul
Cody
Telerik team
 answered on 06 Sep 2011
7 answers
353 views
Is there a way to record using FireFox instead of IE? The web app being tested only runs in FF.
~ZZ
Cody
Telerik team
 answered on 01 Sep 2011
10 answers
303 views
I have an existing thread in which I mention this issue:
http://www.telerik.com/automated-testing-tools/community/forums/test-studio-express/automation-framework/javascript-message-box-handling.aspx

This was not happening on the 2011.5 version but when I updated to the 2011.7 Free testing framework I was getting this error.

We just installed the licensed version of Test Studio.  Now that I am at the licensed version of 2011.7 I am getting the error again when I try to navigate to one of my two web applications I am trying to create automated tests for.  Note, this only happens with one of the we applications.  This is happening in Test Studio with creating a new test, and it happens in Visual Studio 2011 with the WebAii referenced on the NavigateTo method.

I would suspect this has something to do with the web application I am testing against, since it happens on 1 of the 2 sites, but I do not know what to look at to determine why this is happening.  It is causing all my tests against this specific web app to fail due to the internet explorer instance failing and reloading.

As I stated, I can duplicate this in Test Studio when I created a basic test to log into my applications.

I researched a little bit and found a different but similiar thread, http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/explorer-has-stopped-responding.aspx, but I could not resolve my problem.
Jamie
Top achievements
Rank 2
 answered on 01 Sep 2011
30 answers
370 views
Hello all,

I installed WebUI Test Studio QA  Trial to test it and decide if i want to buy it or not. The recording functionality is working just fine but the I try to execute any of the recorded tests the  WebUI fails to open the IE and the operation is aborted. I get this in the Log :

'1/27/2011 2:29:38 PM' - Error encountered during execution.
------------------------------------------------------------
'1/27/2011 2:29:38 PM' - Error launching the runner. Error: System.TimeoutException: The operation has timed out.
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Launch(Int32 waitForReadyTimeout, String pathToRunner, Int32& runnerProcId)
------------------------------------------------------------
'1/27/2011 2:29:38 PM' - Aborting....

I tried using another browser (FF,chrome) to execute the tests but the result is the same. 

The machine Specification is as follow :

- Hardware:
Pentium 4
CPU: 2.80 GHz
RAM: 3.50 GB, 2.79GHz

- Software:
Microsoft Windows XP Professional
Service Pack 3

- Browser:
Windows Internet Explorer 8
    
Daniel Djambov
Telerik team
 answered on 01 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?