|
From: Goudreau, D. <DGo...@qr...> - 2002-11-15 18:36:26
|
I saw the tables code sample, but I'm wondering if someone could post some
other basic code snippits, like getting a page, filling in text boxes, then
submitting the form. Specifically, I'm having difficulty getting an
HtmImageInput object from my page so that I can call click() on it and
submit the form. At the moment I have
HtmlImageInput submitFormButton = (HtmlImageInput)
loginPage.getOneHtmlElementByAttribute("INPUT", "name", "btnSignin");
but I get an ElementNotFound exception. My HTML looks like
<INPUT type=image height=27 alt="Log in" width=31 src="login.gif" border=0
name=btnSignin>
Any help is greatly appreciated.
-David
|