Telerik Forums
Test Studio Forum
3 answers
388 views
It seems most people are getting this error in FF but I'm seeing it in IE.  I have a form with a <select ... field. The select uses a DHTML based lookup page to find values to populate the select's options - It can contain more than one value thus the select rather than an input field.  When I record the action everything looks fine.  Playing it back from a test list fails with the error shown below.  When I see the playback in the browser it appears that the click that fires the new window never happens.  There are some look ups of this type on a previous page - multi-page, multi-form process.  The previous lookups are for input fields and those work just fine in the playback.

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: 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.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)

Any idea on how to sort this out?

UPDATE ...

Did a little more work with this and found something interesting.  The attached image shows the actual vs the expected.  I'm guessing what's happening is the lookup icon, an image of a maginfying glass, is named the same on both page one - expected - and page 3 - actual.  Since they're in different places on the page(s) and have a different url the application is failing to find it.  This is my assumption of course.  Is this the behavior of the application?  If so, how do I defeat this?  Is there something I'm not seeing?

Thanks,
Todd B.
Cody
Telerik team
 answered on 18 Nov 2010
1 answer
130 views
Hi,

              I have downloaded WebUI test studio for Qa edition and recorded the following test using the recorder in IE.
In my project, I have created a new entry in a grid and saved the entry.
Then I stopped the test and saved it.
While executing the test, it is showing the recorded entry in the grid and this execution is created another duplicate entry in the grid.
Each time an duplicate entry is created in the grid while executing the test.

How to resolve the problem?.

thanks
Keaegan
Telerik team
 answered on 17 Nov 2010
2 answers
119 views
Guys - I recorded a script that basically has a grid. I am adding three lines into the grid. Within the grid I have a RadInput box where I need to feed the numbers. By default the RadInput is loaded with a zero. I am deleting the zero and then typing in the value (eg: 300).

Both the deleting of the zero and the typing of the value is recorded. Now sometimes the script executes as 300 and sometimes it executes as 3000 - what should I do to avoid this? I also set the "Clear Before Typing" property to "True" and there is no change. Sometimes the script executes this as 300 and sometimes as 3000. Again I have recorded deleting of the "0" in the script as well.

Any ideas or best practices to accomplish this?

thanks,

Neeraj
Neeraj
Top achievements
Rank 1
 answered on 17 Nov 2010
4 answers
146 views
A silly little test script i automated with reuse in mind is configured with Close Browser as false (duh).
But, whenever i run it (with the intention of recording the next script) it closes the browser.
What gives?
ME
Top achievements
Rank 1
 answered on 17 Nov 2010
1 answer
114 views
Hi,

          I have recorded a test using the recorder in IE and playback it.
1.Run my application and created an reservation in the Calendar time slot.
2.Saved the test.
3.While playback the test, it shows the reservation in the Calendar timeslot.
  and it opens the Edit popup with the details.

While executing the test, it should show the create popup instead of edit popup.

How to resolve the issue?.

Stoich
Telerik team
 answered on 17 Nov 2010
1 answer
128 views
how to make the area graph start from very left in win forms  i.e the labels of the x axis starts from the (0,0) cordinate
Ves
Telerik team
 answered on 17 Nov 2010
7 answers
263 views
Hello,

I wrote my test and successfully run it in previous version of QA Edition tool.
But when I installed new version (2010.3 1109) and run my test I got the following error:

Selecting item in combo-box'.
InnerException:
System.Exception: Refresh() failed due to an unexpected exception. ---> ArtOfTest.WebAii.Exceptions.FindException: Find Details:
- No FindParams defined.
- Start Element: [Element: 'div:46' (id=GroupSelector_comboGroup)]


   at ArtOfTest.WebAii.ObjectModel.Element.Refresh()
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.ObjectModel.Element.Refresh()
   at ArtOfTest.WebAii.ObjectModel.Element.Refresh(Boolean forceDomTreeRefresh)
   at ArtOfTest.WebAii.Controls.Control.Refresh()
   at Telerik.WebAii.Controls.Html.RadComboBoxItem.Select()
   at Pr.Test1.Test1_CodedStep13() in c:\Documents and Settings\Administrator\Desktop\Pr\Test1.aii.cs:line 287

CodedStep13:

            RadComboBoxItem groupNew=Pages.Proj_0.Frame1.GroupSelectorComboDiv.Find.ByExpression<RadComboBoxItem>("TextContent="+newGroup);
            groupNew.MouseHover();
            groupNew.Select();

Could you, please tell how to fix it?

Thanks
Helen
Telerik team
 answered on 16 Nov 2010
1 answer
138 views
I want the RadComboBox to expand as the ComboBoxList.
and set it up?


all the best
Rodrigo
Simon
Telerik team
 answered on 16 Nov 2010
1 answer
139 views
Hi, I have one telerik rad grid.Using a method i am filling the grid.I have enabled paging property.I have used itemtemplate-->ImageButton for delete and edit options.I have set page size as 10.Page load time it is working properly and populating the grid.After inserting 11 th row the pagination starts and it will show in next page with one record.But when i am deleting the 11th row the grid become blank.I have used dataset to bind the records. radgrid.DataBind(); dsDataset.Dispose();. But its item.count is 0. What is the reason?
This is my code

DataSet

 

dsPackage= new DataSet();

 

dsPackage = objSQL.ExecuteDataset(

"AL_PackageType_List_Retrieve",

 

objUtl.NumericEntry(Session[

"LocationId"].ToString()));

 

gvPackage.DataSource = dsPackage.Tables[0];

gvPackage.DataBind();

 

dsPackage.Dispose();

 

 

if (gvPackage.Items.Count <= 0)

 

{

lblMessage.Text =

"No Package Details Found...";

 

gvPackage.Visible =

false;

 

}

 

else

 

{

gvPackage.Visible =

true;

 

}

Pavlina
Telerik team
 answered on 16 Nov 2010
1 answer
159 views
Hi ,
I need to scroll down a multiselect combo box and select a item by clicking on the checkbox inside the item.
i have attached the screenshots.

The 1.jpeg is the default view of the combobox.
The 2.jpeg is the view after scrolling down the combobox.

I need to uncheck the "0-All" field in the 1.jpeg  then check the "2343 - sbal's bvt launch 1.0"  item in the 2.jpeg .

I have tried ComboBox.SelectItem(string itemText) but didnt succeed

Please help me with some code snippets .
Thanks
Sangram

Stoich
Telerik team
 answered on 12 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?