Typing something in a <input type='text'> using FuncUnit "type" but it is not working


I am trying to type something in a input textbox using type function but its not working.

In my page under test there is textbox:

In my FuncUnit test I am trying to type something in this textbox using “type” but its not working:

Can somebody please help me with this. I don’t understand what am I doing wrong.
I tried using sendKeys as well but still not working.


I think your code should be something like (notice the #):


Here’s an example: https://codepen.io/bitovi/pen/NmoyLL


Sorry there was a typo in my question, I meant F(’#txtbox’).type(‘abc’).