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

Reply via email to