7 messages in com.canoo.lists.webtestRe: [Webtest] Dynamic text checking..
FromSent OnAttachments
Swamynayagam04 May 2005 00:21 
Marc Guillemot04 May 2005 00:44 
Swamynayagam04 May 2005 00:53 
Marc Guillemot04 May 2005 01:22 
Swamynayagam04 May 2005 02:32 
Paul King04 May 2005 04:42 
Greg Vatman04 May 2005 14:32 
Subject:Re: [Webtest] Dynamic text checking..
From:Marc Guillemot (mgui@yahoo.fr)
Date:05/04/2005 01:22:24 AM
List:com.canoo.lists.webtest

yes you can use verifyText.

An other solution (the one I use for my webapps) if you can modify the generated
html is to change: Successfully created user to something like: <span id="userCreated">Successfully created user</span>

and then you can use verifyXPath <verifyXPath xpath="//*[@id='userCreated']/>

The advantage of the second solution is that it still works without change if
you display the page in an other language or if your marketing department (or the like) decides that "The user has been
successfully created" should now be displayed in place of "Successfully created user".

Marc.

Swamynayagam wrote:

Example is , in my application I am creating users. So on clicking save, it should check for the same user already exist or not. If it exists the error message says "Please specify different user name"

If it doesn't the message should display "Successfully created user"

This is what the scenario. Can I use <verifyText> ?

Thanks -Swamy

-----Original Message----- From: Marc Guillemot [mailto:mgui@yahoo.fr] Sent: Wednesday, May 04, 2005 1:15 PM To: webt@lists.canoo.com Subject: Re: [Webtest] Dynamic text checking..

Hi,

can you give an example? What do you mean with "validation text message"?

Marc.

Swamynayagam wrote:

Hi,

Can anyone help me out regarding how to test the validation text message which appears after clicking "save" button? (Web application)

Based on the text message, I can conclude the test run.

Thanks in advance

Regards,

-Swamy

======================================================================== ==========================

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they

are

addressed.If you have received this email in error please notify the sender. Please note that any views or opinions presented in this

email

are solely those of the author and do not necessarily represent those

of

the originating company. The recipient should check this email and

any

attachments for the presence of viruses. The originating company accepts no liability for any damage caused by any virus transmitted by

this email.

======================================================================== ==========================

_______________________________________________ WebTest mailing list WebT@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest


==================================================================================================
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.If you
have received this email in error please notify the sender. Please note that any
views or opinions presented in this email are solely those of the author and do
not necessarily represent those of the originating company. The recipient should
check this email and any attachments for the presence of viruses. The
originating company accepts no liability for any damage caused by any virus
transmitted by this email.
==================================================================================================