Janet, your first XPath doesn't select a select field and the second one seems invalid to me. Try in you browser to find the right XPath expression allowing to select your select/option.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Janet Gregory wrote: > Hi folks, > > I'm new to > > webtest and to ajax, and am trying to figure out how to select a row in > a table. The xpath that xpathchecker gives to me looks like this, and > points to a single instance of Quality Assurance. > > " id(' > > userAvailableRolesTable')/tbody/tr[5]/td[2] " > > Can anyone tell me how to turn that statement into a > > webtest select. I feel like I'm doing a bit of trial and error here, and > this is one of my "trials". If someone can shortcut my learnings, I > would appreciate it... or point me to a nice library that shows me how > to translate into webtest speak. > > "< > > setSelectField > xpath="//[EMAIL PROTECTED]'userAvailableRolesTable']/tbody/tr[5]/td[2]" > value="Quality Assurance" /> " > > thx, > > Janet > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

