or
function
ted() {
var
grid = $(
"#grid_clients"
).data(
"kendoGrid"
)
grid.refresh();
}
Hello,
I just want to click on a specific item in the list, on my local machine the following code works perfectly :public static void ClickScrollableControl( HtmlDiv uIPointsList, User accessPoint) { HtmlCell uICell = uIPointsList.GetControl<HtmlCell>(HtmlControl.PropertyNames.InnerText, accessPoint.Name) Mouse.Click(uICell); }
the playback engine scroll till the cell is visible, and it click on it.
When running the same code on the TestAgent (log automatically), the scrolling doesn't work.
My question is just how to scroll manually. I've tried this code but without success :
public static void ClickScrollableControl( HtmlDiv uIPointsList, User accessPoint) { HtmlCell uICell = uIPointsList.GetControl<HtmlCell>(HtmlControl.PropertyNames.InnerText, accessPoint.Name) Mouse.Click(uICell); Rectangle uICellRectangle = uICell.BoundingRectangle; Rectangle uIPointsListRectanle = uIPointsListRectangle.BoundingRectangle; int wheel = 1; while (!uIPointsListRectangle.Contains(uICellRectangle)) { Mouse.MoveScrollWheel(wheel); wheel = wheel + 1; HtmlCell uICell = uIPointsList.GetControl<HtmlCell>(HtmlControl.PropertyNames.InnerText, accessPoint.Name) Rectangle uICellRectangle = uICell.BoundingRectangle; } Mouse.Click(uICell); }
Hi,
I'm trying to generate controls from the server side. The textbox controls rendered by ASP.Net will have <input type="text">.
I was able to replace type="text" with type="email" or other Kendo type I want using a script. However, it works with all other browsers except IE(8.0+).
Thanks,
Helen