Hi,
I am trying to automate a kendo grid from the site http://demos.kendoui.com/web/grid/editing.html. I am trying to change a value into cell but it is not able to change. After I come out of the cell, it is getting its old value.
Code snipplet is -
I am trying to automate a kendo grid from the site http://demos.kendoui.com/web/grid/editing.html. I am trying to change a value into cell but it is not able to change. After I come out of the cell, it is getting its old value.
Code snipplet is -
int i = 1;
foreach (KendoGridDataItem row in kgrid.grid.DataItems)
{
if (row.Cells[0].TextContent == "Northwoods Cranberry Sauce")
{
row.Cells[1].Click();
HtmlInputText text = ActiveBrowser.Find.ByName<HtmlInputText>("UnitPrice");
row.Cells[1].Click();
text.Text = "243344";
string TextVal = kgrid.grid.DataItems[i-1][1].TextContent;
row.Cells[1].Click();
break;
}
i++;
}