Telerik Forums
Test Studio Forum
3 answers
165 views
Hi,

The Telerik RadControls used in the Silverlight application I'm testing have been recently upgraded (just today) using RadControls_for_Silverlight_4_2010_2_0812 version. I'm now encountering an Invalid Cast Exception. The error message is like this:

InnerException:
ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details: System.InvalidCastException: Error 0x17E0.  Debugging resource strings are unavailable. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50524.0&File=mscorrc.dll&Key=0x17E0
   at Telerik.Windows.Controls.ListBoxItem.OnCreateAutomationPeer()
   at System.Windows.Automation.AutomationProperties.GetAutomationId(DependencyObject element)
   at ArtOfTest.SLExtension.ClientServices.GetXmlFromNode(DependencyObject element, Boolean isClosing)
   at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
   at ArtOfTest.SLExtension.ClientServices.SerializeNode(DependencyObject root, StringBuilder sb, List`1 popups)
...

The erring line looks like this:

 

 

IList<Telerik.WebAii.Controls.Xaml.RadComboBoxItem> list = Pages.GRCPlatform.SilverlightApp.AssignedDropDownWatermarkcombobox.Find.AllByType<Telerik.WebAii.Controls.Xaml.RadComboBoxItem>();

 


This test has been passing before the upgrade (yesterday). I also tried running other tests with the same line (pages with RadComboBoxItems) - the same error is encountered. I am using an internal build for the tool: Telerik.WebUI.TestStudio.QA.2010.2.818, which I installed and tested before this upgrade. Can you please help me resolve this issue?

Regards,
QA
Boyan
Telerik team
 answered on 25 Aug 2010
5 answers
181 views
Hi! I wrote some tests for our web application. But have problems with executing:

1) WebUI doesn't work with Safari 4 and 5 on my machine

I installed Safari v 4.0 after installing WebUI Test Studio QA. And when I try to execute tests - nothing happens!

Just browser opens in my local machine and on the page I see a picture with the text "ArtOfTest". On other remote machine I also try to execute the same tests but neither in Safari nor in FireFox(v3.6) they didn't even start! The message was: " Enable to ping runner. Test is either hung or crushed ".

p.s. I looked into WebUI folder on the disk C:\Program Files\Telerik\WebUI Test Studio 2010.2\Browser Extensions.

I noticed that FireFox folder contained more files than Safari's folder and has ArtOfTest.FireFox2.dll. Something not that........

2) In one test I work with Jquery dialog. It has some buttons,text fields and check box.One submit is disabled until user click on checkbox. When I record a test everything was ok: after clicking on the checkbox he submit button became enabled and test was continued. But when I execute it in IE 8 this submit didn't become enabled!

WHY???? In FF test passed ok! Safari doesn' work.

Please, explain to me what should I do my tests'll work properly? What's wrong?
Cooksey
Telerik team
 answered on 24 Aug 2010
1 answer
119 views
We have a flash application which calls web-service data and video components that we would like to test.
Is there a way that web pages with Flash Application content can be tested for interactivity? (I'm think image verification?!)
Kinda straight user-interaction recording?

Cheers,
Rodney
Konstantin Petkov
Telerik team
 answered on 24 Aug 2010
1 answer
104 views
Hi,
I got one problem,I have one.aspx page say default.aspx page and in that page I have 4 iframe,in each frame I am showing differnt
.aspx page,In one of IFRAME .aspx page,I want to open Radwindow through javascript but the problem is that that radwindow come under IFRAME not above IFRAME,Please let me knowwhat to do,the code I used is

 

var oWnd = $find("<%=Radwindow7.ClientID%>");

oWnd.SetSize(550, 154);

oWnd.setUrl(

'../../testwindow.aspx');

 

oWnd..show();

I have other solution for opening popup on top of IFRAME like
var oWnd = window.top.radopen("../../testwindow.aspx?val='"+name+"'", null);

 

oWnd.SetSize(550, 154);

oWnd.Center();
using above code Radwindow open on top of IFRAME  But problem is that on first method status bar can be hidden
biut using second method status bar can not be hidden,I tried to set property like

 

oWnd.VisibleStatusbar=

false;
But it did not work.

Please reply me as soon as possible

 

Georgi Tunev
Telerik team
 answered on 24 Aug 2010
11 answers
299 views
Hello,

I have a RadMenu on some page. I've added first menu item to my project's elements. But when I perform "Click 'First_Item'" step the action was not performed although the step is marked as passed.

Could you please tell me what is going wrong?

HTML:
<div class="RadMenu RadMenu_Office2007" style="display: inline; visibility: visible; z-index: 7000; overflow: hidden; left: 120px; top: 71px; height: 485px; width: 344px;">
        <div style="width: 342px; height: 483px; overflow: hidden; display: block; visibility: visible; top: -485px;" class="rmScrollWrap rmGroup rmLevel1">
            <ul class="rmActive rmVertical" style="position: relative; top: 0px; float: left;">
                <li class="rmItem rmFirst"><a class="rmLink" href="#" style="width: 342px;"><img class="rmLeftImage" src="../../Images/Icons/site_16.png" alt=""><span class="rmText">My item</span></a></li>
            </ul>
        <a href="#" style="z-index: 2000; left: 0px; top: 0px;">&amp;nbsp;</a><a href="#" style="z-index: 2000; left: 0px; bottom: 0px;">&amp;nbsp;</a><a href="#" style="z-index: 2000; left: 0px; top: 0px;" class="rmTopArrowDisabled">&amp;nbsp;</a><a href="#" style="z-index: 2000; left: 0px; bottom: 0px;" class="rmBottomArrow">&amp;nbsp;</a></div>
    </div>

First_Item found expression:
TagName=li,class=rmitem rmFirst

Thank you in advance
Konstantin Petkov
Telerik team
 answered on 23 Aug 2010
2 answers
124 views
Hello,

How can i link the grid and editor for show data when the selecting row in grid?(like yahoo)

Thank.
Ali
Top achievements
Rank 1
 answered on 23 Aug 2010
9 answers
142 views
hi,
i am encountering a server stack trace error whenever i use a test list. each test in this list runs smoothly using the test execution. please see screenshot of message as i am unable to copy-paste it.
regards,
qa
Kristine
Top achievements
Rank 2
 answered on 20 Aug 2010
4 answers
108 views

DateTime Picker: 
Th Required Input Format is : "dd-MM-yyyy". When the Date selected is greater than 12, it shows the required format. But when the Date is selected as a day below 12th of any month,  the control displays the Default Format : "MM-dd-yyyy"

For Example : 

1. 14-08-2010 - The Date is displayed as the same.

2. 06-08-2010 = the Date is displayed as 08-06-2010(6th Aug 2010).


divagar
Top achievements
Rank 1
 answered on 19 Aug 2010
3 answers
120 views
Hello,

We have several independent servers with different URLs on my Project. When I add some element with help of the test recorder this element is placed within some root page in 'Elements' tree. Each root page has direct link as 'Base url'. Is there a way to add alternative links?
I guess that it's Equivalent URLs, am I right? If so that I can't add an url in Equivalent URLs->String Collection Editing. Error appears on clicking "Add" button (please, see attachment).

Could you help me please to add alternative urls to my pages?

Thanks
Konstantin Petkov
Telerik team
 answered on 18 Aug 2010
13 answers
822 views
Hi,

Is there any feature that comes along with Telerik which will help me in reading and writing data from an excel sheet or a CSV file? I tried to read from the csv file with my own piece of code. The problem that i'm facing is, it reads only the first row and doesnt move on to the subsequent rows. The code that I wrote works fine in another application. It just fails here. Could you please throw some light on this issue and help me resolve it ASAp?

Thanks,
Amir
Konstantin Petkov
Telerik team
 answered on 17 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?