Telerik Forums
Test Studio Forum
3 answers
63 views
Hi.
Is that possible to run the tests in the list randomly everytime without modify the order manually?
Thanks in advance
Anthony
Telerik team
 answered on 19 Mar 2012
1 answer
152 views
Ran into this message on an automated test I ran today using FireFox.  Looks like it failed at the start of execution.  Any insights as to the cause?  The other odd thing is that while I was watching the screen during execution, opening and closing browser windows during navigation test steps, one of the FireFox windows appeared completely blank/white with the text "Preparing the browser for automation".  From this point on, each subsequent browser window opened in FireFox looked the same and none of them closed -- they simply stacked up one after another.  ??? 

------------------------------------------------------------
'3/16/2012 4:36:27 PM' - Using .Net Runtime version: '4.0.30319.239' for tests execution.
'3/16/2012 4:36:27 PM' - Starting execution....
'3/16/2012 4:36:49 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'3/16/2012 4:36:49 PM' - System.ArgumentException: Hwnd of zero is not valid.
   at System.Windows.Interop.HwndSource.CriticalFromHwnd(IntPtr hwnd)
   at ArtOfTest.Common.Win32.Window.GetRectangle()
   at ArtOfTest.Common.Win32.Window.GetBitmap(Size windowSize)
   at ArtOfTest.Common.Win32.Window.GetBitmap()
   at ArtOfTest.WebAii.Design.AutomationHostState.FromBrowser(Browser browser, BrowserStateCaptureMode mode)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHostState(IAutomationHost host, BrowserStateCaptureMode captureMode)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.CaptureCurrentState(AutomationStepResult currentStepResult, Exception ex)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'3/16/2012 4:36:51 PM' - Test completed!

Ivaylo
Telerik team
 answered on 19 Mar 2012
3 answers
410 views
In my test run today, when my test step failed, I found this in the test log entry.  

'3/15/2012 4:21:27 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.

I looked in the settings at the Test Step, Test, Project, and Test List levels but I don't know where this setting is configured.  I simply want my test list to continue running through the remaining steps if this one (or similar) fails.  At this point in the test, I'm simply validating URL links to external websites and then navigating back to our page.  It appears that the external page simply didn't finish loading within the specified time.  

Thanks,

Richard  
Anthony
Telerik team
 answered on 16 Mar 2012
1 answer
77 views
Hello,

when I click the Test as Step button to add an exisiting test part as a step to an empty web test Test Studio hangs and crashes.
Version is 2011.2.1413.

Are there any known limitations because we already have quite many test parts.

Kind regards

Edit: The test project is hosted in TFS but we are using VS to manage it ( through pending changes window ).
Cody
Telerik team
 answered on 16 Mar 2012
4 answers
240 views
I'd like to insert a step into my tests to refresh the browser before navigating to the target web page.  I thought I could easily do this by using the Simulate User or Simulate Typing functions, but I'm having difficulty doing so.  Anyone have any direction for me?
Richard
Top achievements
Rank 1
 answered on 15 Mar 2012
1 answer
186 views

<html>
 
<head>
 
<body class="yui-skin-fmc skin-lincoln nameplate nameplate-MKS2012 selldown">
 
<iframe id="_yuiResizeMonitor" title="Text Resize Monitor" style="position: absolute; visibility: visible; width: 2em; height: 2em; top: -31px; left: 0pt; border-width: 0pt;">
 
<div id="global-flips">
 
<div id="page">
 
<div id="header" class="nameplate nameplate-MKS2012 selldown">
 
<div id="view-hd-line">
 
<div id="view-container" class="view-incentives">
 
<div id="view">
 
<div id="view-bd" class="view-bd">
 
<div class="incentives_header">
 
<div class="incentives-select-vehicle">
 
<div id="incentives-content" data-year="2012" data-model="MKS" data-iframebase="https://lincoln-incentives.fdv3.com//Page/">
 
 
<html>
 
<head>
 
<body>
 
<script src="/Scripts/Lincoln.Omniture.Control.js" type="text/javascript">
 
<script type="text/javascript">
 
<script type="text/javascript">
 
<script type="text/javascript">
 
<div class="incentive">
 
<script type="text/javascript">
 
<div class="flipFilter">
 
<select style="display : none;" name="modelDescription">
 
<div>
 
<div class="zipChange">

If i want to find  <div class="zipChange"> under <iframe id="incentives-iframe" class="active" frameborder="0" src="https://lincoln-incentives.fdv3.com//Page/?zipcode=48152&year=2012&make=Lincoln&model=MKS&site=NG&app_context=ngbs_sploffr">

how can do it??

Anthony
Telerik team
 answered on 14 Mar 2012
2 answers
189 views
Hello,

Is there a way to force an exit out of a loop using the UI or should this be handled in code?

Here is my scenario: I am searching for a customer immediately after creating it.  Rather than specifying an execution delay, I'd rather have Telerik repeat this search until it is found, however if unsuccessful after 10 tries, then give up.  I could use the 'Loop' and specify 10 times, but if the customer is found on the second attempt, I don't want to execute the loop 8 more times.  I could use the 'While...Loop', but if the customer is never found, the search will continue infinitely.

Any thoughts?  Thanks!
Alan
Top achievements
Rank 2
 answered on 14 Mar 2012
1 answer
145 views
My test recently started displaying the Windows Internet Explorer dialog with the message below and see attached... How can I handle this in a coded step if it appears... keep in mind sometimes it doesn't appear.... geez...

Also, the webpage I am refreshing has nothing to do with purchases or buying anything... it's not a shopping site at all....


Message is:

To display the webpage again, the web browser needs to resend the information you've previously submitted.

If you were making a purchase, you should click Cancel to avoid duplicate transaction. Otherwise, click Retry to display the webpage again.
Ivaylo
Telerik team
 answered on 13 Mar 2012
1 answer
94 views
Often when the download dialog is presented while testing a website, sometimes it takes clicking the Save button twice, before it actually proceeds with giving it a name and then downloading the file. When this happens TestStudio hoses since it tried to click the Save button once already but nothing happened... so then it just sits there until it times out and then of course fails the test.

What could be causing this behavior in IE8?? And how can I get TestStudio to work around it?
Ivaylo
Telerik team
 answered on 13 Mar 2012
1 answer
118 views
If the confirm save as dialog comes up, usually when it needs to overwrite an already existing file... it locks up TestStudio and IE8... I'm not sure what is going on here... I had these tests working perfectly, and when we imaged the machine to move it to a VM on our VM servers... weird download issues started occuring...

Is there an issue with TestStudio running on a Virtual Machine, it's Win7 Pro.. and my user is part of the local Administrators group.

Thanks in advance!
Ivaylo
Telerik team
 answered on 12 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?