Telerik Forums
Test Studio Forum
4 answers
115 views

Hi, I have a question.

Sometimes my test cases pass, but sometimes my test cases fail due to the following error.

System.TimeoutException: Wait for condition has timed out

I believe it is the network speed issue. I would like to customize the error message, but I find it seems not possible for me to do it. Is it possible for me to know which step or line throws this exception?  I can increase the sleep time.

 Thanks,

Ray

Cody
Telerik team
 answered on 16 Jun 2010
6 answers
151 views
Hello,

I am trying to find an easy way to compare data in a table against a database of some sort, for this instance a CSV file. Specifically, I want to compare each data cell in a table with the CSV file, without the need to select everything in the table individually. Instead, I would like to select each cell the the first row, and compare the data in it against my CSV file, then move on to the next row of the table and repeat the process. I have had no problem binding the CSV to a single cell, but I can't seem to find a way to move to the next row on the site. Is such a thing possible, and if so could you point me in the right direction as to how to get started?

Thanks,
-Justin
Kristine Ayson
Top achievements
Rank 1
 answered on 16 Jun 2010
3 answers
187 views
The silverlight application I'm testing has changed its url. My old tests no longer work eversince. I have been encountering this error:

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Unable to find the Silverlight plugin on the following page:'http://sanjose:1810/' using the following expression:'[id 'Exact' Div1] THEN UNDER NODE FIND [tagIndex 'Exact' object:0]'. Exception: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForCondition(Func`3 condition, Boolean invertCondition, Object custom, Int32 timeout)
   at ArtOfTest.WebAii.Synchronization.Wait.ForExists(Int32 timeout, Boolean refreshElement)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHost(IAutomationHost topBrowser, ElementDescriptor element, Int32 hostFindTimeout, Int32 appConnectTimeout, Boolean cachedSLAppOnly, String& error)

I tried to record a new test using the new url, and the test studio created a new instance of the silverlight application. Please see attached screenshot.

How can I make the old tests work with the new url?

Regards,
Kristine
Cody
Telerik team
 answered on 15 Jun 2010
4 answers
173 views
Is it possible to start a test execution from a command line?
Missing User
 answered on 10 Jun 2010
1 answer
117 views
Hi,

After I choose a file from RadUpload, I wonder how do I clear the file selection, and leave the component in the initial state. That is, without any files selected.

Grateful,
Genady Sergeev
Telerik team
 answered on 10 Jun 2010
1 answer
129 views
Hi,

I recorded a scenario which accepts unique data. Before replaying the recorded script I changed the input value through the properties window. But the tool is setting blank values. Please help me solving the issues. I am not scripting , I am just recording the scenario and playing it back with a set of new data.



Thanks & Regards
Archana
Cody
Telerik team
 answered on 09 Jun 2010
12 answers
365 views
Hello

Could you, please, clarify how to set empty value into RadDatePicker?
Recorded step "RadInput: value '' entered." does not clear the field.

When I converted the step into Codded step, I get the following compilation error:
--------------------------------------------------
c:\Users\Documents\WebUI Test Studio Projects\Proj\New Test.aii.cs: Line 77: (CS1061) 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlSpan' does not contain a definition for 'TypeText' and no extension method 'TypeText' accepting a first argument of type 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlSpan' could be found (are you missing a using directive or an assembly reference?)


Thanks,
Svetlana
Svetlana
Top achievements
Rank 1
 answered on 09 Jun 2010
4 answers
239 views
Originally I created a test keying in the information while recording on a webpage.  For a step the Properties / Behavior Text value had the value that would go into the webpage.  Later I changed the test to be datadriven and I added the excel spreadsheet and worksheet as a source, then I bound the data, then I went to Properties for each step and added Data Driven and entered $(type) or $(1) to pick up the value of the first column and such.

However the old value in Text kept coming thru.  so I deleted the value in text and nothing comes thru.  Any ideas.  Also when you refer to the first column in excel is it OK to set  $(1) in the Data Driven Editor?

Thanks
Missing User
 answered on 08 Jun 2010
3 answers
102 views
Hi,

  I got a problem! When i use LaunchNewBrowser() method to launch a new browser, a TimeoutException is thrown.
How can i resolve this problem? My enviroment is VS2008SP1 with IE7.

Thanks
jerry Chen
Top achievements
Rank 1
 answered on 08 Jun 2010
3 answers
163 views
Hi,

sorry my question is very basic: what is the major difference between WebAii Testing (free) and WebUI Test Studio?
Konstantin Petkov
Telerik team
 answered on 04 Jun 2010
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?