In our Angular project we have input field created as FormControl where we also create validation for accepting only digits (RegExp(’^[0-9]+$’)), in that field, we have method for detecting changes (standard Angular onChange() method)
![]()
I need to trigger onChange(), when input is set by Selenium/UI.Vision. The problem is when I try to insert value to input with “type” or “sendKeys” (or XType)… inserted value is set in field, but onChange() method is not triggered.

My opinion is that I have to insert value as Integer, but I don’t know how.
Another solution is double click to input (or Ctrl + A for select text), then Ctrl + C and Ctrl + V.
When I try to copy and paste value from/to input, onChange() method is triggered, but I don’t know how to select all text from input field (i tried XClick - doubleclick, ClickAt, Click, XType with Ctrl + A…)
Row with XType | ${KEY_CTRL+KEY_A} selects all text on the page, but I need select text just in the input (then I will call copy/paste)
Thank you for the help.
