You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by bluey <ke...@yahoo.com> on 2008/03/31 02:43:58 UTC

How to perform function test on each GUI element?

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.:-)
-- 
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: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to perform function test on each GUI element?

Posted by sebb <se...@gmail.com>.
On 31/03/2008, bluey <ke...@yahoo.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org