Telerik Forums
Test Studio Forum
3 answers
170 views
Hi, 

I'm trying telerik for the first time, and need to know the trick to wait. 

I was trying to wait for an element to exist but it failed on me, because the WaitOnElementsTimeout  somehow is fixed to 10000, is it 10 seconds or 10000 
seconds? I need to wait for at least 5 of 8 minutes. This is too short and I can't even change it myself. 

Please help. 

Thanks

Plamen
Telerik team
 answered on 22 Mar 2012
1 answer
136 views
Hi.
I am recently try to find the code coverage using Ncover. http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/knowledge-base/code-coverage/using-ncover.aspx    like this post.
But my problem is i build my solution on VS and run the webpage by debug. I didn't publih the site on IIS. And my database server is also installerd locally.
I tried to select Windos Services SQL(MSSQLSERVER). however the result is

***************** End Program Output *****************

No
[NCover Explorer]: NCover encountered an error while executing

[NCover Explorer]: Trend and coverage files will not be reloaded



How can I fix this?

Thank you !
Anthony
Telerik team
 answered on 21 Mar 2012
5 answers
137 views
I use following step to select value from combo-box, but after saving the form the combo-box has empty value.
http://screencast.com/t/0M396CyN
Select_Country is defined as
http://screencast.com/t/dXvX1f8wg3v
algot
Top achievements
Rank 1
 answered on 21 Mar 2012
1 answer
132 views
Hi folks,

Is there a restriction on the use of Excel .xlsm files as data sources?  Test Studio reports that my BaseData.xlsm, created with Office 2010,  file is "...not a valid 'Excel' source file".

Thanks,
Nigel Edwards, Transition Computing.
Anthony
Telerik team
 answered on 20 Mar 2012
2 answers
69 views
Hi all,

I think I have found a logic issue with content validation, but it maybe that I'm just not understanding something, or not applying the test correctly.  Would somebody clarify this for me, please?
I have a field called 'roleCreatedOn' that contains a plain text date-time.  The HTML is:

<td id="roleCreatedOn">

19/03/2012 11:29:54

</td>


I want a test that checks that the field is not empty, so I set the Build Verification as:
    Content Verify TextContent NotContain (empty)
But when I then check that the validation is correct, Test Studio displays this:

Content.TextContent of elementdoes not match!

   Match Type: 'NotContain'
   Expected Result: ''
   Value at time of failure: '19/03/2012 11:29:54'

Parameters:
-----------
TagSegmentType  = 'TextContent'
CompareType     = 'NotContain'
ExpectedString  = Expected:[] , Actual:[19/03/2012 11:29:54]


Since the field is not empty, surely the test value returned should be true?  Why does Test Studio think the Expected Result should be ''?
Am I testing for an empty or null field correctly?

Thanks,
Nigel Edwards, Transition Computing. 
Nigel
Top achievements
Rank 2
 answered on 20 Mar 2012
3 answers
49 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
126 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
384 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
69 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
216 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?