Our application contains a 5 page web flow. I'd like to put multiple
tests with valid and invalid data in the same Java class but I'm
running into a problem. If the test data from page one is valid, the
user is moved to page two of the application. The application stores
the page that the user is on and opens that page when the user
connects to the URL again.

Currently each page is represented by a module and the modules are
included in the JunitTest such as:

    private static StudentPersonalInformationModule spim;
    private static StudentLicenseAgreementModule slam;

     @BeforeClass
    public static void initUi() {
        spim = new StudentPersonalInformationModule();
        spim.defineUi();

        slam = new StudentLicenseAgreementModule();
        slam.defineUi();

        connectUrl("http://localhost:8000/vireo101/vireo/start";);
    }

Is there a way to tell which page is currently loaded? The methods
such as getTitle() are specific to a module and if the valid data
moved the user to the next page, then that module is no longer valid.
Perhaps I should put all of the page elements for the five individual
pages inside one big module?

Jade

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to