I'm writing test automation scripts that is based on Data Driven testing for Web Browser test. I'm using Local Data as my data source.
Eg: Local Data table contains 2 rows and 2 columns for Username and Password.
I'm wondering is there is a way to perform a row "Count" function for the Local Data table.
And then,if the row count is two, perform a specific function.
The idea is something like this :
if LocalData.Row = 2 then
//Execute a function
else
//Close Browser
I can't seem to find any resources in the net for this. I'm just being introduced to Telerik so i'm learning as it goes and i'm really hoping you guys can help to give some pointers on this question.
Many many thanks in advance :)
Column and row are two different things.
When accessing the column by the
RAD_Grid.MasterTableView.Columns
.You will be able to modify all the properties of a column. Like :
FilterDelay, CurrentFilterFunction, ShowFilterIcon, DataField, UniqueName, Display, Exportable...
To iterate through the row, on the data bound:
Or
As its not really clear what you want I will give you an other way around. In your grid put a templated Column. I' am pretty sure that's what you are looking for. And if the logic is complexe put it in a function in code behind and simply :