Telerik Forums
Test Studio Forum
1 answer
76 views
Hi,

I am evaluating your WebUI Test Studio to find out whether it can be used to simplify a testing process of our Silverlight application. It looks really great, but I've stumbled upon a one problem I am unable to solve on my own.

We are rather heavily using both popups (child windows in SL 4.0) and NumericUpDowns (from SL Toolkit) in our application. When I record a test that involves opening a popup window (which I register in its constructor by using PopupTracker.Track(this);) and inputing a value in one of the NumericUpDown, everything seems ok.

So I save the test and execute it. The popup opens, but the NumericUpDown is not found. There are also some TextBoxes in the popup and those are found and values are inputed into them without any problems.

When I use a NumericUpDown outside of popup window, the test executes correctly and the NumericUpDown is found. I would really appreciate any advice you can provide.

Thanks,

Nikola
Nikolai
Telerik team
 answered on 08 Sep 2010
10 answers
256 views
I am having problems verifying the value in a textblock. Basically there is an initial value which I can verify exists, then I select a value from the dropdown list, and after I want to verify the value of the textblock is the value I selected.

When I execute the steps after recording, it fails on this step every single time. I know there must be a simple step I am missing or something I am doing wrong as this is a standard basic test.
Konstantin Petkov
Telerik team
 answered on 08 Sep 2010
0 answers
110 views

Hi,
I have a problem when I export my Telerik Report to Excel by code, I need to style a Textbox in my report code exactly in

ItemDataBound

event I give a different color to Textbox as backround depend on filed data, but the problem is not all the color look the same ! mean I give a Hex number for a specific color but in the Excel sheet look different but when I export it to PDF all the color look correct !
So what is the problem please help me with this

Thanks

Ban
Top achievements
Rank 1
 asked on 30 Aug 2010
1 answer
91 views
Hi,

After the execution run in Record -> Steps Viewer, the Test Results are not present in the Results Tab against the current date.
(But able to see the Results in the "View Test Log")
Is there any settings to be done to view the Results?

Regards,
Dal
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
1 answer
96 views
Is there any way to run a pre test setup/initialisation script? I need to run a stored proc to ensure my test data is reset. Thanks Nabil
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
1 answer
95 views
Hi,

I came across a issue at browser level. Whenever I ran script, its opening the login page& logging in the user in IE browser correctly. If I run the same script in Fire fox or Safari browsers, then just script is running up to login page& script not entering the login details.

Our Application is already Browser Compatible i.e. it allows users to login in FF&Safari if user perform manually.

Message in Test Viewer is

Error attempting to ping runner. Error: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Ping()

Any ideas?

Thanks
Konstantin Petkov
Telerik team
 answered on 27 Aug 2010
3 answers
161 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
179 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
116 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
100 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
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?