This question is locked. New answers and comments are not allowed.
I use a method SendString to put the value in the Input field.
I find the Input field, set the mouse cursor in the field and then call the method SendString, but it's ... empty.
My method is
"OperationItems" element is
SOS! I've no idea why it's not working.
I find the Input field, set the mouse cursor in the field and then call the method SendString, but it's ... empty.
My method is
| public void SetValueinFiltertotheField(string text) |
| { |
| HtmlInputText textfield = new HtmlInputText( |
| _frame.Find.ByParam(SummaryTable.SerializedElements["OperationItems"], TRYCOUNT)); |
| textfield.MouseClick(MouseClickType.LeftClick);; |
| Manager.Current.Desktop.KeyBoard.SendString(text); |
| } |
| <FindParamItem key="OperationItems"> |
| <FindParam TagName="input" XPath="" NodeIndexPath="" Type="AttributesOnly" ContentType="TextContent" ContentValue="" TagOccurrenceIndex="-1"> |
| <Attributes> |
| <iAttribute Name="id" Value="operationItems" /> |
| </Attributes> |
| </FindParam> |
| </FindParamItem> |