5 messages in com.canoo.lists.webtestRe: [Webtest] How to Get value from a...
FromSent OnAttachments
Siju John02 Feb 2004 02:27 
Janno Kusman02 Feb 2004 03:53 
Marc Guillemot02 Feb 2004 04:27 
Aatish Arora04 Feb 2004 06:04 
Marc Guillemot05 Feb 2004 00:38 
Subject:Re: [Webtest] How to Get value from a field
From:Janno Kusman (jann@hot.ee)
Date:02/02/2004 03:53:07 AM
List:com.canoo.lists.webtest

You can use storexpath to get value of input element.

<storexpath stepid="Get value of input element with id=1" xpath="//*/input[@id='1']/@value" property="id1value"/>

sets field value to WebTest property "id1value"

Janno

Siju John wrote:

We have "setinputfield" to set the value to a given field. I want the opposite. I want to get the value of the given field.

e.g. unique id = 1 I want to get the value "1" provided the unique id name. Pls anybody can help.