1. A method, implemented by a computing system programmed to perform the following, comprising: receiving, by the computing system, user input of a root for a web application component in a HTML (hypertext markup language) tree structure for the web application component; receiving user input of one or more sub-elements for the web application component based on the location of the root for the web application component; generating a component model for the web application component based on the location of the root and the sub-elements; and providing the component model to a test tool to enable the test tool to test the web application component.