Telerik Forums
Test Studio Forum
2 answers
154 views

First I wood like to thanks the developers team of telerik for their software!

I’m using it a little time and naturally meet with certain problem in it. Now I need help to solve my troubles.

My software (Silverlight 3, IE8) that I try to test have following problem:

For my example, I using some form from project (attached file). Besides other controls (CheckBox, TextBox etc.), Form contain internal object (listBox) that consist of set of other elements (CheckBox) which generates “on the fly” (dynamically), and not displays some seconds while form is opening; This listBox activating by checking checkBox control near.

Problem: Telerik WebUI Test Studio is register that control (highlight) in “Record” but not reproduce (at “Execute” period);

_____________________________

Error: Wait for condition has timed out

ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> System.TimeoutException: Wait for condition has timed out

   в ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)

   в ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)

   в ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)

   в ArtOfTest.WebAii.Silverlight.VisualWait.ForExists(Int32 timeout)

   в ArtOfTest.WebAii.Design.Execution.ExecutionUtils.SetVirtualizedContainerOffset(AutomationDescriptor descriptor, IAutomationHost host)

   в ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)

   в ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()

   --- Конец трассировки внутреннего стека исключений ---

_____________________________

Wait time is not significant, because before this control is activate - WebUI Test Studio work with other CheckBoxes and control fill up and turn ready.

All other elements of this form – work correctly.

P.S. Sorry for my English, I just learn it… :)

Drow
Top achievements
Rank 1
 answered on 23 Sep 2010
1 answer
79 views
Hello,

I have placed a rad window control on one of the pages. However, the Rad window is opening for only a fraction of second and closing automatically. 

Here's the code:

Master Page.aspx:
<telerik:RadWindowManager ID="Singleton" Skin="Outlook" Width="300" Height="300"
        runat="server" ShowContentDuringLoad="false" Modal="true" Behaviors="Default"
    AutoSize="true" Top="-200" VisibleTitlebar="true" VisibleStatusbar="false" ReloadOnShow="true">        
  </telerik:RadWindowManager>

Content Page.aspx:
<a href="#" runat="server" id="ancPageName">      
<asp:ImageButton ID="Image1" height="110" runat="server" width="130" />
</a>

Content Page.aspx.cs
Image1.ImageUrl = "~/imagelink.aspx";
ancPageName.Attributes.Add("onclick", "var wnd=window.radopen('
~/imagelink.aspx
', null);");

Would really appreciate if somebody could let me know as to what I am doing wrong.

Thanks,
Raj
          



Georgi Tunev
Telerik team
 answered on 22 Sep 2010
1 answer
175 views
Hi

I downloaded the above trial but am unable to activate it as it says my trial has expired, I did however trial the QA edition but there were so many problems with it that it didn't seem viable that I suggest my employer purchase it. With Dev edtion it integrates with VSTS 2008 so it maybe a viable alternative but until I can evaluate it there is no way I can recommend to my manager we purchase it.
Daniel Levy
Telerik team
 answered on 21 Sep 2010
1 answer
188 views
Hi,
I tried to create an automation testing project for a Silverlight Web site using 'Telerik - WebUI Test Studio' to have an idea how maintainable is the source code of the test cases, but I encountered a Silverlight connection error that does not allow recording the web page GUI.
[Steps performed]
-          create a new project in 'WebUI Test Studio'
-          add a new Test
-          enable Silverlight automation for this test
-          go to the 'Record' tab and press 'Record' button with 'Launch new recording Browser' option
-          in the new browser, navigate to the required page
-          wait for the Silverlight page to load
[Result]
-          After the web page is loaded by the automation tool, two error dialogs appear:

    1. Application Unhandled exception - Message: Object reference not set to an instance of an object at loading XAP file

    2. Unable to connect to Silverlight application.  Silverlight recording will not function.
even if the Web page seems to be loaded correctly. After this error, 'WebUITest Studio' does not record any actions

[Test environment] - set up for WebUI Test Studio:
-          IE 8 configured for automation (see all steps here:http://www.artoftest.com/support/webaii/topicsindex.aspx?topic=configureIE7)
-          Windows 7 x86 Professional OS with UAC disabled (logged in user is part of administrators group)

[Investigation]
i've tried all proposed solution from http://www.telerik.com/ClientsFiles/185726_silverlight-connection-draft.zip, but the Silverlight recording error is the same
-          Remark: if the page is reloaded in WebUI recording browser several times, IE crashes; debugging IE shows an error at ArtOftest.WebAii.Mime.dll

[Important remarks]
- web site is working correctly when performing manual testing (not using any GUI recording tool).
- 'WebUI Test Studio' recorder is working as expected on other Silverlight website

Are there any other solutions to perform Silverlight GUI recording from WebUI TestStudio? 

Best regards,
Flavia
Cody
Telerik team
 answered on 20 Sep 2010
3 answers
163 views
Hi.  My team is currently evaluating WebUI and have hit a couple of roadblocks.  

1/ How can I find/identify custom controls?
2/ How do I find controls in a coded step?  I tried using code that I had built up using WebAii but it didn't work and didn't provide a particularly useful error message.  

Help on these questions would be greatly appreciated.  Thanks.
Cody
Telerik team
 answered on 17 Sep 2010
2 answers
482 views
    
Hello!

I need help in a such problem.

I have drop down list in SharePoint application.
Here it is:

<select name="ctl00$PlaceHolderMain$ctl09$ddlCashier" id="ctl00_PlaceHolderMain_ctl09_ddlCashier">
<option value="none">Make your choise</option>
<option value="07b77ce8-8376-45da-be95-9079e65db9c7">HELLO</option>
 </select>


"07b77ce8-8376-45da-be95-9079e65db9c7" is a guid that is changed every time I open the page.
I need to select HELLO option.

How can I do it?
Helen
Telerik team
 answered on 17 Sep 2010
3 answers
163 views
Hi,

This is Archana.

How do I customize my test results.
I have converted the steps to VB code.
I tried using print but it seems not working.

Thanks & Regards
Archana
Nikolai
Telerik team
 answered on 09 Sep 2010
1 answer
102 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
298 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
152 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
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?