On 31/03/2008, bluey <[EMAIL PROTECTED]> wrote: > > Hi, all, i have a GUI interface as below, how do i use Jmter to test every > item on the page? Eg. whether button box contains all the expected button, > the message box contains correct message, the layout is exactly the same as > what I expect. > http://www.nabble.com/file/p16389871/blnp.jpg > "Assertion result", but not sure how to specify the location of the message. > Eg. i want to test the message must be inside the message box.etc. Thanks > for your help.:-) >
JMeter is not a browser. Although it can display the HTML for most pages in the View Results Tree Listener, it does not have any layout parsing code. You can use the Response Assertion to check the HTML source, but you will have to work out what the required HTML is, and generate the appropriate checks. It is easy to check that the required strings are present somewhere on the page. You may be able to use the XPath Assertion to check some aspects of the positioning of elements within the page. This depends on how well structured the page is. > -- > View this message in context: > http://www.nabble.com/How-to-perform-function-test-on-each-GUI-element--tp16389871p16389871.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

