Telerik Forums
Test Studio Forum
2 answers
107 views
Hi,

i am working in a project with silverlight 4, mvvm pattern and telerik controls.

It is possible to population xml string content to a radgridview.


Xml String
--------------

<NewDataSet>
  <Table1>
    <ID>17668</ID>
    <CODE>67</CODE>
    <NAME>03822</NAME>
    <DESCRIPTION>Test Desc<DESCRIPTION/>
    <MODULE>6</MODULE>
  </Table1>
<NewDataSet>


i want to populate this content to radgridview, the column name and count is not static, it will change dynamically based on the data from the database.

So that i cant able to create static properties here...

Thanks in advance

Sridhar V.
Sridhar
Top achievements
Rank 1
 answered on 24 Oct 2011
3 answers
218 views
Hello,
I am developing a set of scripts that creates surveys for sales and marketing. The scripts work great and I love you product. I was wondering if there was a way to randomize the row the script pulls data from an Excel sheet?

I use visual basic for custom coding.
Thank you.
-Chris
Cody
Telerik team
 answered on 23 Oct 2011
3 answers
149 views

I have the following code to select an item based on the user role I need to create.  Is there a simpler way to do this?

Thanks,

John

'Default Span
ActiveBrowser.Window.SetFocus
Pages.CreateNewUser.PleaseSelectSpan.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop)
Pages.CreateNewUser.PleaseSelectSpan.MouseClick
 
 
If  Data("firstname")  =  "admin"  Then
        'Click 'ProgramListItem'
    ActiveBrowser.Window.SetFocus
    Pages.CreateNewUser.ProgramListItem.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop)
    Pages.CreateNewUser.ProgramListItem.MouseClick
End   If
 
If  Data("firstname")  =  "man"  Then
    'Click 'SiteManagerListItem'
    ActiveBrowser.Window.SetFocus
    Pages.CreateNewUser.SiteManagerListItem.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop)
    Pages.CreateNewUser.SiteManagerListItem.MouseClick
End  If
 
If  Data("firstname")  =  "staff"  Then
    'Click 'StaffMemberListItem'
    ActiveBrowser.Window.SetFocus
    Pages.CreateNewUser.StaffMemberListItem.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop)
    Pages.CreateNewUser.StaffMemberListItem.MouseClick
End  If
 
<option value="">Please select</option>
<option value="1">Program administrator</option>
<option value="2">Site manager</option>
<option value="4">Staff member</option>

Stoich
Telerik team
 answered on 21 Oct 2011
1 answer
116 views
Hi,
   I want to know how Telerik Test Studio will handle these scenario.
1. Assume  today in a web page: I have two text box (T0, T1) which is not assigned  ID, Name or Any other thing.Both have same properties except for the location.
2. At certain places we see the recorded steps shows Test0,Test1 as the Friendly Name of object.We add validation for these objects to be present on the page in our script. Suppose if some more text boxes are added above T0 and T1 and target order changes then will our script fail? If yes then whats the best way to add such validation which are irrespective of their location and order.

Basically we want to check the maintainability of the scripts in Telerik. Let us know if you have document or a reference which can help us in evaluating the same.

A quick response will surely help.

Thanks & Regards,
Ahetejazahmad.
Cody
Telerik team
 answered on 20 Oct 2011
4 answers
142 views
Hello,

Since the new version 2011.2 I get an error when trying to execute tests from the "Record" tab.
I get this error in the log :
------------------------------------------------------------
'14/10/2011 17:40:54' - Error encountered during execution.
------------------------------------------------------------
'14/10/2011 17:40:54' - Error launching the runner. Error:
System.TimeoutException: The operation has timed out.
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Launch(Int32
waitForReadyTimeout, String pathToRunner, Boolean isManual, Int32&
runnerProcId)
------------------------------------------------------------
'14/10/2011 17:40:54' - Aborting....

The execution is working when launching it from a test list ("Test Lists" tab)

Could you help me ?

Thanks,
Regards,
Stoich
Telerik team
 answered on 19 Oct 2011
6 answers
370 views
My application includes combo boxes. One of my tests requires the selection of an item in the combo box which isn't visible when you first open the combo box: I open the combo box; it displays the first 6 items; I need to select the 10th item.

I can record the action of scrolling the combo box. However, this recorded step then includes specific x/y pixel references: "Drag BackgroundGradientRectangle to application at (297, 432) from TopLeftCorner."

When I play back the test, it often fails at this step. No selection is made in the combo box if the screen size is slightly different than when the test was recorded.

How do I get my test to consistently select the 10th item in a combo box, even if that item is not visible when you first open the combo box?


John
Top achievements
Rank 2
 answered on 18 Oct 2011
1 answer
228 views
Hi,

I'm using RadControls for ASP.NET AJAX Q1 2010
Version : 2010.1.519.20
In my web application I'm using panel bar ,but its generated the following error
Warning 15 Validation (XHTML 1.0 Transitional): Element 'headertemplate' is not supported. C:\OfficialProject\Project_VS\PracticeManagementSystem\PracticeManagementSystem\EntityManagement2.aspx 16 38 PracticeManagementSystem


<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" 
                    Skin="Vista" OnClientLoad="onLoad" >
                    <Items>
                                <telerik:RadPanelItem>
                                    <ItemTemplate>
                                    </ItemTemplate>
                                </telerik:RadPanelItem>
                                <telerik:RadPanelItem Expanded="true">
                                    <HeaderTemplate>
                                        <div style="float: left; padding-top: 1px; z-index: 2800;">
                                            <telerik:RadMenu ID="RadMenu1" runat="server" OnClientItemClicked="onItemClicked"
                                                Skin="Forest" Style="z-index: 2900">
                                                <Items>
                                                    <telerik:RadMenuItem Text="Favorites">
                                                    </telerik:RadMenuItem>
                                                    <telerik:RadMenuItem Text="Records Last Accessed" Selected="true">
                                                    </telerik:RadMenuItem>
                                                      
                                                </Items>
                                            </telerik:RadMenu>
                                        </div>
                                    </HeaderTemplate>
                                    <ContentTemplate>
                                        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" 
                                                            CssClass="multiPage" Height="250px" Width="100%">
                                            <telerik:RadPageView ID="RadPageView1" runat="server" >
                                                <div style="height: 100px" >
                                 
                                                </div>
                                            </telerik:RadPageView>
                                            <telerik:RadPageView ID="RadPageView2" runat="server" >
                                                <div style="height: 100px" >
                                 
                                                </div>    
                                            </telerik:RadPageView>
                                        </telerik:RadMultiPage>
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        
                    <CollapseAnimation Duration="100" Type="None" />
                    <ExpandAnimation Duration="100" Type="None" />
                </telerik:RadPanelBar>

Kate
Telerik team
 answered on 18 Oct 2011
3 answers
104 views
Hi
             I am facing a problem with Telerik Test studio, When I am login from http page to silver light that time test studio hold the value of text box like "Set 'password' text to  'Ahetejaz'". After this step my application which is based on Silver Light  pop up' in that when I am clicking on a link button Language which gives me three text box to create a language, when I Pass value to it. It creates the language in the menu option however  text box is not holding any value after creating  it in my script. So, how can I verify the text in it  and next time when I will run the same script that time the text box will have any empty value and it will throw an exception. For example "LeftClick on  Item0TextboxView0". Their is no value shown for text box. Can you help me to find a solution for this, as we are testing your tool so that we can use it for automating Silver Light application.

Thanks & Regards,
Ahetejazahmad.
Anthony
Telerik team
 answered on 18 Oct 2011
8 answers
291 views
I seem to be having an issue viewing the results of a scheduled test. I have my scheduling server all set up (on the same box as the execution server) and i can schedule test lists and watch the tests run - so i know this is all working correctly. The issue i am having involves viewing the results.

As you know, when you schedule a test, it appears on your calender with yellow shading. After the scheduled test runs, it remains on the calender shaded yellow (Dan Levy points this out in his tutorial video on TelerikTV). As he points out, you must click "Reload From the Server" and then it should turn green if the list passed, or red if it did not. Unfortunately, when I click "Reload from the Server" the yellow entry of my scheduled test disappears from the calender, and there is no longer any indication that it occurred. (Again, i watched it occur, and my execution server indicates that it occurred in the Last Test Run Results tab).

Oddly enough, when i run a test list on-demand (not through scheduling) it shows up on the calender and stays on the calender after the test, turning green for pass, red for fail - as it should. So the issue is only with scheduling.

In addition, in both cases (after on-demand tests, or scheduled tests) when i click "Manage Results," the field is empty - even though I have instances on my calender that tests have executed. Shouldn't a test run generate some kind of report...something i can pass on to my team lead to show him test progress?

The attached image tries to show everything at once: you can see the execution server indicates the last test was run around 7PM (scheduled) but there is no entry in the calender for it. (It disappears when the results were reloaded). Also, in spite of the visible runs in the calender, there is are no entries in the Run Results Viewer.

I know i threw a lot out there, but i appreciate your help.

-Zach
Stoich
Telerik team
 answered on 18 Oct 2011
1 answer
78 views
We have several tests we hand coded using the Telerik Testing framework.  Is there any possible way to convert these tests to a Test Studio test?  I know you can export from Test Studio to VS2010, is there an Import?
Anthony
Telerik team
 answered on 17 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?