Telerik Forums
Test Studio Forum
2 answers
136 views
Hi,

I have just started Telerik QA edition in which i have created 2 test in a project.Now when i add both the test in a test list and execute test list, it executes the first one without error and for the 2nd test it open a new browser and my 2nd test fails.Since the 2nd test is in continuation of the 1st one, so it should fail.
But my query is why it is not executing the 2nd test in the previous browser.Am i missing some settings.

Please provide your valuable suggestions.

Regards
Deepak
Deepak
Top achievements
Rank 1
 answered on 08 Sep 2011
1 answer
112 views
Hi.

In my testproject I have some scripts with some code behind. Very simple code, I might add. It resizes the active browser:
<CodedStep("New Coded Step")> _
Public Sub resize_CodedStep2()
    ' ActiveBrowser.ResizeContent()
    activebrowser.ResizeContent(0,0,1024,690)
      
      
End Sub

Yesterday everything was running perfect.
Today I have the following troubles:

When I make a new test and add a code step to it, it fails and logs:

'8-9-2011 14:36:18' - System.ArgumentException: Unable to find the test class type 'test_08091120' in your test assembly. Please make sure your test code behind is compiled with your latest changes.

 
When I run a test I made yesterday, it still runs fine.
The (only) code I use is: ActiveBrowser.Resize(0,0,1024,700)
I would change it to: ActiveBrowser.Resize(0,0,600,100)
 When I change the values, it still runs fine. But it does not use the new code, i.g., it stille changes the browser size to 1024 x 700

I looks like it does not compile at all.
I work in the Stand Alone version, I did not found any option to start compiling.
My project is in VB. The resize test only open a browser and resize it, no other steps.

Can you tell me why it doesn't compile and how I can fix it?


Cody
Telerik team
 answered on 08 Sep 2011
2 answers
121 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
230 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
194 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
161 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
215 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
147 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
132 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
302 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?