[Wtr-general] How to access a dynamic value from the source code.
Arti
forum-watir-users at openqa.org
Mon Oct 16 07:31:29 EDT 2006
Please help!
I'm trying to get a dynamic value (pro_id) which is not printed on the webpage, but is available in the source code. it is in the format "http://domain.com/sometext&[b]PRO_ID=<[i]dynamic number[/i]>[/b]&someothertext"
This url is repeated several times in the source code, but never in the actual webpage.
I tried putting the source into a string:
source = ie.html
but I don't know how to access the url and strip it off so all i get is "[b]Pro_id = <[i]dynamic number[/i]>[/b]
I'm a relative newbie. So pardon me if its a silly question.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4800&messageID=13270#13270
More information about the Wtr-general
mailing list