This is a migrated thread and some comments may be shown as answers.

not able to bind records from xlx. file to components generated dynamically

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sonal
Top achievements
Rank 1
sonal asked on 14 Jun 2011, 08:53 PM
Hi,

I am trying to bind record from .xls file to data grid at process of test execution as shown in attached screen.grid component are generated dynamically at run time. can you suggest how to find element location and bind record with it.

for e.g. following record is saved in .xls

code :JR
Description:Journal1
status:  Active
when there is a step 'click ADD button' executed these record should be saved in 3rd row of grid as there are already 2 records are existing.

Sonal

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 20 Jun 2011, 10:51 AM
Hi Sonal, 
    it sounds like you'll need a coded solution in order to implement this solution. We have a KB detailing how to use code to go through the cells in a GridCell:
http://www.telerik.com/automated-testing-tools/support/kb/going-through-each-cell-in-dynamically-generated-grid.aspx
You'll need to use a similar approach and find the first cell that doesn't have any TextContent or something along those lines. It's difficult to say since any solution will be unique to your app.
I believe the best option would be for you to grant use access to your app and we can prepare a solution for you.

All the best,
Stoich
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
sonal
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or