Trittst du jetzt unter einem Pseudonym auf? ;-)

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Habbert
Gesendet: Donnerstag, 25. Oktober 2007 08:19
An: [email protected]
Betreff: Re: [Webtest] How to pick a Value from a Web Page & Store it in a 
Variable

Hi Nalin,

Dierk Koenig wrote:
> Hi Nalin,
>  
> have a look into the steps storeRegex and storeXpath.
>  
[...]
I do it like:

extract the value out of the html-page:
---------
   <storeRegEx description="create new release: Extract realID."
       text="&lt;a\shref=&apos;/release/detail\.do\?release=(\d{4})&apos;\s&gt;"
     group="1" property="real.release.id" propertyType="dynamic" />
---------

and reuse the value as property="real.release.id" or save the value in a file:
---------
   <echo file="../data/${chewi.release1.file.name}" 
message="real.release1.id=#{real.release.id}"/>
---------

Greetings

-- 
Mit freundlichen Grüßen

Michael Habbert

_______________________________________________
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