Hi, Ui Module is only a class definition and a Java/Groovy variable at runtime. Shouldn't the UI module variable tell you what UI module you are using? Also, in the selenium server log (if you run external selenium server), you can see the UID for the isElementPresent() command, which also indicates the UI module name (The uid of the root UI object). Or do I misunderstand your question?
The real "loaded" concept is Tellurium Engine side UI module caching. Make sure you have different root UIDs for different UI modules in this case. You don't need to worry about it if you are not using Tellurium New Engine. Thanks, Jian On Tue, Jul 20, 2010 at 12:48 PM, 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]<tellurium-users%[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.
