Hmmm, after reading your other email I think I see the problem you have. I will come back with a code sample tomorrow morning (European time), it's getting a little late here right now.
On 20 July 2010 21:09, Jonathan Share <[email protected]> wrote: > I'm doing something similar and this works flawlessly. > isElementPresent really shouldn't be throwing an exception. Can you > email the stacktrace you are getting? > > Regards, > > Jonathan > > On 20 July 2010 18:48, Jade <[email protected]> wrote: >> 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. >> >> > -- 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.
