Creating Tests

Use Silk4J to create a test that uses XPath queries to find and identify objects. Typically, you use the New Silk4J Test wizard to create a test. After you create the initial test method, you can add additional test methods to an existing test class.

When you create a test, Silk4J automatically creates a base state for the application. An application's base state is the known, stable state that you expect the application to be in before each test begins execution, and the state the application can be returned to after each test has ended execution. For additional information, see Base State.