To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
The recommended way to do 1. is to use TestBench product. It includes Element wrappers for the stock Vaadin components for easier manipulation. For example clicking first row in Grid in a test case would be something like this