watij

XPath can't find a table by id

I'm doing some screen scraping using WATIJ, but it can't read HTML tables (throws NullPointerExceptions or UnknownObjectExceptions). To overcome this I read the HTML and run it through JTidy to get well-formed XML. I want to parse it with XPath, but it can't find a <table ...> by id even though the table is there in the XML plain as da...

Problem with WATIJ.

I have logged in to a website by using WATIJ jar file in java. Now I want to get the page source (HTML code) of the webpage that appeared after login. I have IE instance already. ...

How to get the souce code of a particular webpage?

I have logged in to the ORKUT by using WATIJ jar file in java. All orkut pages has one small chat window in the bottom-left of the page so when I try to get the source code through ie.html() it returns the source code of that small chat window and I want the source code of the page on which that chat window appears. How can I get the d...

watij -finding fields

Hi All, I have used WATIN , where I can do thinks like Find.ByTitle or Find.ByUrl etc. They retrun attribute constraint. Do I have something related to in watij? Thanks & Regards, Priya.R ...

Watij Replacement

Does anyone know of a good replacement to Watij which will allow automated tests to be written in Java? It looks like the Watij library isn't being developed anymore. ...

Functional PDF Testing (Automate Testing of PDF Content)

I am working on an application where I am writing some automation framework for testing a web application. I am using Watij / Watin for the framework, but have run into a problem with verifying the PDFs generated have the correct content. I know I can use IText or a native PDF library to load up the PDF, but I am wondering if there is ...

Testing jQuery change event using Watij

I have a select list where a change event has been bound to the element using jQuery. Something like this: $("#someId").change(function() {..}); When someone chooses a new option in the select list, another part of the UI will change accordingly. Now this works fine when I use the mouse and click things, however, when using Watij to...

Browser based HTTP authentication through Watij

Hi, I'm writing Junit based test cases for UI automation via Watij APIs. But I'm stuck at the Login/Authentication Dialog that comes up on screen. Since, it's not a DOM object I have no way to tell Watij to enter username and password. Please help. ...