--M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable James Britt (jamesUNDERBARb / neurogami.com) wrote: > I've been using Ruby at my current job to test a web app via Internet=20 > Explorer with the clIEController [0]. >=20 > The downside is it only scripts IE, and (to the best of my knowledge),=20 > you cannot get to the raw markup returned to the scripted browser, so it= =20 > doesn't help you verify, for example, that each page is rendered as you= =20 > expect. You should be able to fetch it with something like: document.root.outerHTML > I've hacked some code for the controller that walks the IE HTML node=20 > tree and emits proper XML (not actual XHTML, though) so that one can run= =20 > xpath calls, via REXML, against the markup to see that certain data is=20 > on the page, or check that a page fetch didn't return an error page. >=20 > If nothing else, it saves *much* time clicking through pages, filling in= =20 > forms, clicking submit, etc. My test script will spawn a score of=20 > threads; browsers pop up all over the place, and I test a dozen=20 > pages/site paths at a time. --=20 Eric Hodel - drbrain / segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFAr4OmMypVHHlsnwQRAjTXAJ9W/uIGxzfKUUsp+7lilzZSxJVPHgCfcaeS 03Y4103BPeMc70HSjFvpJbA= =pP98 -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- James Britt (jamesUNDERBARb / neurogami.com) wrote: > I've been using Ruby at my current job to test a web app via Internet=20 > Explorer with the clIEController [0]. >=20 > The downside is it only scripts IE, and (to the best of my knowledge),=20 > you cannot get to the raw markup returned to the scripted browser, so it= =20 > doesn't help you verify, for example, that each page is rendered as you= =20 > expect. You should be able to fetch it with something like: document.root.outerHTML > I've hacked some code for the controller that walks the IE HTML node=20 > tree and emits proper XML (not actual XHTML, though) so that one can run= =20 > xpath calls, via REXML, against the markup to see that certain data is=20 > on the page, or check that a page fetch didn't return an error page. >=20 > If nothing else, it saves *much* time clicking through pages, filling in= =20 > forms, clicking submit, etc. My test script will spawn a score of=20 > threads; browsers pop up all over the place, and I test a dozen=20 > pages/site paths at a time. --=20 Eric Hodel - drbrain / segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFAr4OmMypVHHlsnwQRAjTXAJ9W/uIGxzfKUUsp+7lilzZSxJVPHgCfcaeS 03Y4103BPeMc70HSjFvpJbA= =pP98 -----END PGP SIGNATURE-----