ok. You could surely write some custom Groovy code to retrieve all the nodes and work on them but in the case you described it makes probably more sense just to iterate with <repeat xpath="...">.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com swetha appalapuram wrote: > hi, > > These fields are required fields in the panel, that means if we dont > enter anything in these fields and try to save the object, it will throw > the error messages > The error messages will be like Field is required, in the place of field > we will have the label Ex: Description is required. > > I am going to write a generic script for almost 100 panels which will > have different fields as required fields. > In the generic script i have to see whether all the error messages are > getting displayed or not. > i found the only way to do this is retrieving the labels and appending > "is required" to those labels and verify if the error messages are being > displayed or not. > > > */Marc Guillemot <[EMAIL PROTECTED]>/* wrote: > > swetha appalapuram wrote: > > i am getting error like repeat doens't support xpath. > > seems that you use an old build. > > What's important here is why do you want to store these labels. What do > you want to do with them? > > Cheers, > Marc. > -- > Blog: http://mguillem.wordpress.com > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > > ------------------------------------------------------------------------ > Unlimited freedom, unlimited storage. Get it now > <http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/> > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

