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

**URL:** <https://forums.bitovi.com/t/typing-something-in-a-input-type-text-using-funcunit-type-but-it-is-not-working/1065>\
**Category:** Testing\
**Created:** [April 25, 2019, 12:17pm UTC](https://forums.bitovi.com/t/typing-something-in-a-input-type-text-using-funcunit-type-but-it-is-not-working/1065 "2019-04-25T12:17:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manisha](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@manisha](https://forums.bitovi.com/u/manisha)\
**Post date:** [April 25, 2019, 12:17pm UTC](https://forums.bitovi.com/t/typing-something-in-a-input-type-text-using-funcunit-type-but-it-is-not-working/1065/1 "2019-04-25T12:17:19Z")

</div>

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:  
F(‘txtbox’).type(‘abc’);

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.

---

<div class="post-metadata">

**Author:** ![chasen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/chasen/32/402_2.png) [@chasen](https://forums.bitovi.com/u/chasen)\
**Post date:** [April 27, 2019, 12:54am UTC](https://forums.bitovi.com/t/typing-something-in-a-input-type-text-using-funcunit-type-but-it-is-not-working/1065/2 "2019-04-27T00:54:17Z")

</div>

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

```auto
F('#txtbox').type('abc');

```

Here’s an example: [https://codepen.io/bitovi/pen/NmoyLL](https://codepen.io/bitovi/pen/NmoyLL)

---

<div class="post-metadata">

**Author:** ![manisha](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@manisha](https://forums.bitovi.com/u/manisha)\
**Post date:** [April 29, 2019, 4:51am UTC](https://forums.bitovi.com/t/typing-something-in-a-input-type-text-using-funcunit-type-but-it-is-not-working/1065/3 "2019-04-29T04:51:44Z")

</div>

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