• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Watij Issue - UnknownObjectException error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am pretty new to Watij but I like what I have seen so far. I was trying to develop some quick code to automate login process for an application and I ran into an issue.
I ran some other code without issues which tells me there are no configuration issues. I am not using any IDEs but running java programs from command line. I am using Watij version 3.2.1; JDK ver 5. Details :

I am getting an UnknownObjectException error with the following code -
ie.image(alt, "Log in").click();

The html code is -
(teedee klass="loginbuttonfix") (inpoot type="image" Klass="submit_button"
tabndex="3" source="../docs/images/login.png" alt="Log in"
onKlick='return submitLoginForme("http://urlurl.com")'/)(/teedee)

I also tried - ie.image(src, "../docs/images/login.png").click();
which didn't work either.

Note - I have replaced html tag braces with "(" or ")"

Any help is very much appreciated.
Thanks
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic