com.atlassian.pageobjects
Interface TestedProduct<T extends Tester>

All Known Implementing Classes:
ConfluenceTestedProduct, JiraTestedProduct, TestedProductRule

public interface TestedProduct<T extends Tester>

The product being tested. Provides access to key services to be used during testing.


Method Summary
 PageBinder getPageBinder()
           
 ProductInstance getProductInstance()
           
 T getTester()
           
<P extends Page>
P
visit(Class<P> pageClass, Object... args)
          Constructs the page object, changes the browser URL to the desired page URL, then binds the object to the page.
 

Method Detail

visit

<P extends Page> P visit(Class<P> pageClass,
                         Object... args)
Constructs the page object, changes the browser URL to the desired page URL, then binds the object to the page.

Type Parameters:
P - The page type
Parameters:
pageClass - The page class
args - Arguments to pass to the page object constructor.
Returns:
The constructed and fully loaded page with the browser set accordingly

getPageBinder

PageBinder getPageBinder()
Returns:
The page binder for visiting pages and binding page objects

getProductInstance

ProductInstance getProductInstance()
Returns:
Information about the instance being tested

getTester

T getTester()
Returns:
The tester being used


Copyright © 2014 Atlassian. All rights reserved.