No, I can use XPath, I was just hoping for an easier way as I have an intern 
working on this test and she doesn't fully understand xpath yet (she only 
started last week) :)  Oh well, good learning experience for her and she has to 
learn sometime, thanks anyway.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot
Sent: Friday, April 25, 2008 3:24 AM
To: [email protected]
Subject: Re: [Webtest] Storing default value from Select Field

In a select, the information on the selected option is available on the option, 
not on the select, therefore you can't ready any attribute on select to get 
this information.

Is it a problem to use XPath in this case?

Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com


Soula, William wrote:
> Is there any way beside xpath to store the default value of a select
> field?  I have tried:
> <storeElementAttribute htmlid="Preferred_Resource_Priority__INPUT_BOX"
> property="thing" attributeName="disabled"/> and regardless of the
> attributeName I ask for I always get undefined returned
> <storeInputFieldAttribute name="property(Preferred_Resource_Priority)"
> property="thingy" attributeName="selected"/> same here except I get
> the error "No suitable field(s) found" which I also get if I delete
> the parenthesis (making it look for an invalid
> name) making me think this isn't the step for this.  Any help is
> greatly appreciated.
>
> Thanks,
> Will

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to