This question is locked. New answers and comments are not allowed.
Hi,
I have a requirement where I have to verify the each content on Kendo grid and then click on it.All the contents in this grid is auto post values,We are able to modify the dose field alone.
This grid was developed by using kendo gird, I can't be able to verify it even after recording it and tried little c# codes :
KendoGrid grid = ActiveBrowser.Find.ById<KendoGrid>("grid");
foreach (KendoGridDataItem row in grid.DataItems)
{
if (row.Cells[1].InnerText.Contains("250:00"))
{
ConfirmDialog cd = new ConfirmDialog(ActiveBrowser, DialogButton.OK);
Manager.DialogMonitor.AddDialog(cd);
Manager.DialogMonitor.Start();
row.Cells[1].MouseClick();
cd.WaitUntilHandled();
Manager.DialogMonitor.RemoveDialog(cd);
}
}
- Above Coded step also not fulfilled my scenario.
These are the following scenarios,I need to verify :
Scenario 1 :
Need to verify the respective Time,Dose's are posted correctly while at the first time of grid open.
Scenario 2 :
Whenever i am changing the value of dose field in grid,it should affect this parent control(dose).
Please,Help me on this
I have a requirement where I have to verify the each content on Kendo grid and then click on it.All the contents in this grid is auto post values,We are able to modify the dose field alone.
This grid was developed by using kendo gird, I can't be able to verify it even after recording it and tried little c# codes :
KendoGrid grid = ActiveBrowser.Find.ById<KendoGrid>("grid");
foreach (KendoGridDataItem row in grid.DataItems)
{
if (row.Cells[1].InnerText.Contains("250:00"))
{
ConfirmDialog cd = new ConfirmDialog(ActiveBrowser, DialogButton.OK);
Manager.DialogMonitor.AddDialog(cd);
Manager.DialogMonitor.Start();
row.Cells[1].MouseClick();
cd.WaitUntilHandled();
Manager.DialogMonitor.RemoveDialog(cd);
}
}
- Above Coded step also not fulfilled my scenario.
These are the following scenarios,I need to verify :
Scenario 1 :
Need to verify the respective Time,Dose's are posted correctly while at the first time of grid open.
Scenario 2 :
Whenever i am changing the value of dose field in grid,it should affect this parent control(dose).
Please,Help me on this