We have a 5 page submission form. I'd like to test page one with many
different values before moving on to testing page two. Thus, I have
one test that fills out the form with valid data. After the submit
button is pressed, the second page is loaded. The test then clicks on
a link in the second page to return to the first page and clear and
form and retest with different values.
I'd like to verify that a certain page has loaded. However, if the
page hasn't loaded, the moduleName.isElementPresent() throws an
exception. Is there a way to get the name of the current module that's
loaded?
BTW, our test class loads in both modules during setup:
@BeforeClass
public static void initUi() {
spim = new StudentPersonalInformationModule();
spim.defineUi();
slam = new StudentLicenseAgreementModule();
slam.defineUi();
connectUrl("http://localhost:8000/vireo101/vireo/start");
}
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.