Telerik Forums
Test Studio Forum
5 answers
158 views
I followed the steps listed below to add a load test agent on another PC.
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/load-testing/load-installation/addloadagent.aspx

However, on my Load Controller, all I see is the only test agent on my local box, NOT the new agent on another PC.

What do I need to check?

Thanks.
Cody
Telerik team
 answered on 07 Dec 2012
9 answers
314 views
We have a checkbox within a Telerik Grid.  It is bound to our ViewModel.

Example View:
@(Html.Telerik().Grid<RoleViewModel>()
        .Name("RoleGrid")
        .DataKeys(k => k.Add(m => m.Role))
        .ToolBar(c => c.SubmitChanges())
        .DataBinding(db => db.Ajax().OperationMode(GridOperationMode.Client)
            .Select("SelectClientSideRole", "User")
            .Update("UpdateClientSideRole", "User"))
        .Columns(c => {
            c.Bound(m => m.Role).Hidden(true);
            c.Bound(m => m.Description).ReadOnly(true);
            c.Bound(m => m.IsInRole)
                .ClientTemplate("<input name='IsInRole<#= Id#>' id='IsInRole<#= Id#>' type='checkbox' <#= IsInRole ? checked='checked' : '' #> />").Title("Is in role");
        })
        .Editable(e => e.Mode(GridEditMode.InCell))
        .ClientEvents(e => e
            .OnDataBinding("roleGrid.onDataBinding")
            .OnRowDataBound("roleGrid.onRowDataBound")
            .OnSubmitChanges("roleGrid.onSubmitChanges")
            .OnComplete("roleGrid.onComplete")
            .OnError("roleGrid.onError")))


Above is our exact code.  The issue with Telerik Test Studio is simulating a checkbox click.  Source code for the checkbox looks like this:
<td class="t-last">
  <input name="IsInRole0" id="IsInRole0" type="checkbox">
</td>

When we hover over the checkbox to simulate the click, the source code changes to the following:
<td class="t-last t-grid-edit-cell">
  <input class="check-box" data-val="true" data-val-required="The IsInRole field is required."
    id="IsInRole" name="IsInRole" type="checkbox" value="false">
  <input name="IsInRole" type="hidden" value="false">
  <span class="field-validation-valid" data-valmsg-for="IsInRole" data-valmsg-replace="true">
  </span>
</td>

When we hover over the checkbox to simulate the click, we loose our unique attribute for the checkbox. The input id attrivute "IsInRole0" changes to "IsInRole".  So when we record our test and then run the test, it fails.  The output of the grid will have multiple rows.

Any help or ideas on how to simulate a test for the checkboxes?

Thanks
Plamen
Telerik team
 answered on 06 Dec 2012
5 answers
218 views

I have a scenario where the file upload dialog doesn't open after adding a certain number of files.

How do i verify that the file upload dialog has not opened ?


Thanks
Radhika
Plamen
Telerik team
 answered on 06 Dec 2012
0 answers
64 views

Test Studio User Guide Updates

Now Live for 2012 R2 SP1

New

Updated

Byron
Top achievements
Rank 1
 asked on 05 Dec 2012
1 answer
140 views
Hi there,

I just installed the trial of Test Studio for evaluation purposes. I tried to record a simple Web-Test:

Open a form, input some values into textboxes and submit.

The problem is: As soon as I insert a value (into the second textbox, the first seems to get recorded), Internet Explorer hangs completely.

After a few seconds I get the "Unresponsive" suffix in the titlebar and from there on I can only restart the browser.


So in fact I am unfortunately not able to evaluate Test Studio at all :( .. which is a bummer, because it really looks very useful.

I am running Windows 8 + Internet Explorer 10.
I already run the automatic browser configuration dialog - which states that everything is correctly configured.


Thanks for any advice,
Wolfgang
Ivaylo
Telerik team
 answered on 04 Dec 2012
2 answers
82 views
Hi there
        I was wondering is, is there any way I could use a coded step to pull back a list of the tests in a test list as it is executing.

The reason I ask is I want a coded step in the first test to react to changes in the test list.

So for example lets say I have a test list of 6 tests

Setuptest
test1
test2
test3
test4
test5

I want to be able to have Setuptest preform some data set up for all the other tests and I want it to be able to react to changes in the test list so that if I add test6 to the list it will react to the change without needing to be updated.

Thanks

Carl
Carl
Top achievements
Rank 1
 answered on 04 Dec 2012
7 answers
238 views
Hi,

I have a requirement for data driven tests with the following scenario
I need to be able to populate the screen with

Example Queries
Order
SELECT CustomerID FROM dbo.[Order]
OrderLine
SELECT [ProductID], [Qty] FROM [Sandbox].[dbo].[OrderLine] WHERE CustomerID = [@Parameter]

Order CustomerID: 100
OrderLine ProductID: 100 Qty: 1
 
Order CustomerID: 101
OrderLine ProductID: 201 Qty: 1
OrderLine ProductID: 300 Qty: 2

Order CustomerID: 102
OrderLine ProductID: 100 Qty: 1
OrderLine ProductID: 200 Qty: 1
OrderLine ProductID: 300 Qty: 13

I would like to setup the tests as a parent(order)/child(orderline).

I can't use "InheritParentDataSource" because that would cause an order to always have one orderline.

If I have to do code behind to set up the datasource for child. Please show how to pass parameter from parent to child and then how I override the datasource for child

Current Steps
Add Order Test(Parent)

Type '' into TxtCusomterTextbox - DataDriven: [$(CustomerID)]
Click BtnOrderButton
Execute test 'AddOrderLine'

Add OrderLine Test(Child)
Type '' into TxtOrderLineProductIDTextbox - DataDriven: [$(ProductID)]
Type '' into TxtOrderLineQtyTextbox - DataDriven: [$(Qty)]
Click BtnOrderButton

Any help would be appreciated.


Cody
Telerik team
 answered on 03 Dec 2012
1 answer
258 views
I tried to use the verify option to check if a button is visible but the script fails when the button is not visible. I have attached a couple of screenshots.
Plamen
Telerik team
 answered on 03 Dec 2012
7 answers
225 views

Hi,

I have some issue with recording some steps in test studio.I am a beginer in test studio. I have a wpf application. On its interface I have a zone with properties for controls I use. This list is displayed into a radgridview. When select the first cell from each row all the step are recorded, but when refer to the second cell on each row(this cell contain radnumericupdown) then the step is recorded but when replay the test this step fails because allways show the dates from first row.

Any idea why?

When I looked  in "Find element" on XamlPath I found this:
/gridviewvirtualizingpanel[name=PART_GridViewVirtualizingPanel]
/gridviewgrouprow[2]
/grid[name=PART_GroupExpanderGrid]
/border[name=Content]
/stackpanel[0]
/gridviewvirtualizingpanel[name=PART_GridViewVirtualizingPanel]
/gridviewrow[automationid=Row_-1]

Thank you in advance.

 

Regards,

Simona

Boyan Boev
Telerik team
 answered on 29 Nov 2012
1 answer
95 views
Hello,

Here's our test scenario:

We're adding an "item" to the grid by completing the form.
Next we want to click recently added item (to edit it) on the grid and here we have a problem:

How to get this item when we have virtualized grid with many rows?

We tried to filter on choosen column which we know the value will be unique for that item.
PROBLEM: The textbox in RadGridView where we can enter text to filter on each time has other Name/AutomationId, so the engine cannot locate this element (screen1) (screen2). Tried other find logic without success.

How to achieve this?

I've searched other forum posts and I found this : grid verification where it is stated that translators can do something similar but's isn't true for virtualized grid. In the same topic I read: We plan to release non-coded data-driven find logic in our second 2012 release this fall. Is it released?

Ok let's say it can't be done without coding. How to make coded steps for my testers where they can easily provide 2 inputs (lets say column name and search value), which can do the "click new added item" step for them?

Any help appreciated =]

Boyan Boev
Telerik team
 answered on 28 Nov 2012
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?