5 messages in com.canoo.lists.webtestRe: [Webtest] Hi! Any method to verif...| From | Sent On | Attachments |
|---|---|---|
| Robert Chen | 02 Mar 2005 15:16 | |
| Marc Guillemot | 03 Mar 2005 02:23 | |
| vikr...@mastek.com | 07 Mar 2005 00:44 | .java |
| Paul King | 07 Mar 2005 05:06 | |
| Edward O'Flynn | 07 Mar 2005 06:06 |
| Subject: | Re: [Webtest] Hi! Any method to verify if a textfield is enabled?![]() |
|---|---|
| From: | Paul King (pau...@asert.com.au) |
| Date: | 03/07/2005 05:06:39 AM |
| List: | com.canoo.lists.webtest |
Hi Vikram, are you happy to release this under the existing Canoo Webtest
Licence?
Thanks, Paul.
vikr...@mastek.com wrote:
Hi Robert,
We had developed a custom check for this type of functionality to check if the particular html component is enabled or disabled I am sending you the source.
Add the following entry in webtestTaskdefs.properties
verifyhtmlelementenabled=com.canoo.webtest.steps.verify.VerifyHtmlElemen tEnabled
The Syntax is as follows .
<verifyhtmlelementenabled stepid="Check First Name input box is Disabled" name="given_name_a" enabled="false"/>
Thanks & Regards Vikram Shitole Mastek Ltd Phone No : 56072000/ 56072100 extn 2051 Mastek on the web: www.mastek.com
'The future belongs to those who believe in the beauty of their dreams'
From: Robert Chen <Robe...@colesmyer.com.au> To: "'webt...@lists.canoo.com'" <webt...@lists.canoo.com> Date: Thu, 3 Mar 2005 10:16:24 +1100 Subject: [Webtest] Hi! Any method to verify if a textfield is enabled? Reply-To: webt...@lists.canoo.com
Hi all,
Been using webtest for a few weeks now and it's a great program
I'm trying to verify using webtest that a field (which is disabled and enabled by javascript) is actually disabled or not.
Before I tried to assign the disabled textfield a value, and then verify if the textfield was empty or not. This didn't work as even though it was disabled, webtest is able to assign it a value (i assume it works a little differently to simulating manual/actual input).
Because its in javascript, the actual html tag for the element does not change either, so I cannot verify its disabled using the verifytext function which searches the html source.
Any help/information on whether this is possible would be great.
Thanks,
Robert.
MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCO
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless specifically indicated to that effect. Mastek Limited
does not accept any responsibility or liability for it. This e-mail and
attachments (if any) transmitted with it are confidential and/or privileged and
solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities other than the
intended recipient is prohibited. This e-mail and its attachments have been
scanned for the presence of computer viruses. It is the responsibility of the
recipient to run the virus check on e-mails and attachments before opening them.
If you have received this e-mail in error, kindly delete this e-mail from all
computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





.java