Telerik Forums
Test Studio Forum
7 answers
247 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
280 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
236 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
99 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
7 answers
591 views
Hi Telerik,

I haven't tried it yet but is it possible that can the test studio pass the extracted values to the next test? I will just store the extracted values in the memory so no writing of values on a excel sheet.

Steps:

1. Navigate to Browser.
2. Enter Details.
3. Save.
4. Extract Values(e.g. Record Id)
5. Search for Record (This step will be a Test as Step using the extracted value as an input.)

Thanks.
Plamen
Telerik team
 answered on 28 Nov 2012
1 answer
149 views
I have already written Vb script, I have to load in Telerik and Test the application..please let me know how to load that script in telerik.
Thanks & Regards,
Abhishek
Plamen
Telerik team
 answered on 28 Nov 2012
3 answers
149 views
Hello,

Is there a way to end the current iteration in the middle of a test and go to the next iteration?

Thanks!

if x == false
   //end iteration (and automatically begin the next)
if x == true
   //continue on with remaining test steps
Cody
Telerik team
 answered on 26 Nov 2012
2 answers
904 views
Hi there,

I am totally new in case of RadControls and at beginner level at the moment.
 I am just doing the first simple webpage i which I want to put a RadComboBox and with few items already in there.

When I run it I need to know at client side, how many items are there in a combo box and need to show the count in a msgbox or alert.

Can any one help me please... :D

Thank you in advance..

Khyati.
Heera
Top achievements
Rank 1
 answered on 26 Nov 2012
3 answers
91 views
We got some problems running Silverlight tests on Firefox (16.0.2). The test stops as soon as the first element in the Silverlight app is accessed. This is the log message:

Outer Exception Type: System.TimeoutException
Message: Timeout trying to connect to Silverlight App.

A complete log is attached.
The tests run successfully on IE and Chrome. Firefox is configured manually according to the documentation and the Telerik Extension is installed. We are using Test Studio Vesion 2012.2.920.0.
Plamen
Telerik team
 answered on 23 Nov 2012
1 answer
52 views
Hi, my suite of tests runs against IE8 and before I move to IE9 I would like to know if the file download dialogues 'Save', 'Open', 'Cancel' I have recorded in IE8 will simply work in IE9 or will I have to re-record them all? Thanks
Stoich
Telerik team
 answered on 23 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?