quality@glassfish.java.net

Re: Issue in Automating Admin GUI Monitoring tests

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Sat, 09 May 2009 19:41:31 -0700

Hi Sonali,

It is so nice to see students are working on test automation and asking
good questions like this one.
Hope you find the work around and don't let this stop you. Meanwhile,
let's wait some time for advice.

Thanks and happy automation :-)
Judy

srs 287 wrote:
> Hi Judy,
>
> I am using the latest build 47a on Windows Vista. In Admin GUI
> Console, on Monitoring page, how is the property id determined for the
> drop down box to set OFF/LOW/HIGH values for HTTP Service, Web
> Container, and JVM? From the JSF source, it looks like the widget id is:
>
> "propertyForm:sun_propertySheet652:sun_propertySheetSection653:_sun_propertySheetSection653"
>
> The number 652 and 653 changes with every installation and build. So,
> automation tool cannot rely on the id to set the values. To make
> automation with tools like Selenium, would it be possible to code the
> page such that the widget id always remain same.
>
> Please let us know if we should file this issue as an enhancement.
>
> Thanks,
> Sonali