[prev in list] [next in list] [prev in thread] [next in thread]
List: grinder-use
Subject: Re: [Grinder-use] How to read value from an HTML element?
From: Philip Aston <philip.aston () oracle ! com>
Date: 2009-08-21 8:05:04
Message-ID: 4A8E5530.1010400 () oracle ! com
[Download RAW message or body]
You have a good point. Please open a feature request on the sourceforge
site.
- Phil
Satheesh Babu Vattekkat wrote:
> I've bunch of tests where I get a page which is usually populated with
> default values for even visible input elements. I just need to submit
> these values back to the form poster after changing 1 or 2 values.
> While there is a httpUtilities.valueFromHiddenInput that helps in
> getting hidden values, I couldn't find anything to read input values.
> valueFromBodyURI doesn't work since it seems to be looking into
> name=value pairs only which is of use only with query string.
>
> I solved it by writing my own regex function to get my value (don't
> ask, but what I am testing has non-standard HTML that even
> BeautifulSoup couldn't parse properly :-))
>
> Am I missing some stuff or there is a reason why Grinder doesn't have
> read from input values? I'd imagine that this is a common requirement.
>
> For most purpose, if type=hidden is removed from the regex in
> httputilities implementation class should be good enough.
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic