I want to test my vaadin component automatically but to do that I have to somehow get and set value into corresponding element. Normally in HTML DOM you see it like this:
<textarea rows="4" cols="50">
At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
but in vaadin:
<input type="text" class="v-textfield v-widget v-has-width" id="first-name-text-field" aria-labelledby="gwt-uid-40" tabindex="0" style="width: 250px;">
yet this element could contain the same text as the textarea above.
I am missing something and cannot find where I should get/set methods. Googling didn't help, official documentation didn't seem to hahve anything on the matter. At this point I'm confused.
ps: if it helps I want to test it with Selenium, but I think it's unrelated. I would like to answer any and all question that would point me to the right direction. Thanks.
pss: Maybe there actually is method in java-selenium to getValue() of element and I do not need this dom?