[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[platform-swt-dev] Announcing new release of SWT Web Automation Framework
- From: Misha Koshelev <misha680@xxxxxxxxx>
- Date: Thu, 20 May 2010 21:45:24 -0500
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=NzCWU2zgrKV8dfxowbHn37wEyQ6zg+ohcsFBnrgKu2U=; b=ewTK+HDpURhTPx8F3eUrNSQXoUmwmmOa05r3oJ/w/IJBonb6GTzaMYv+w3Gc5Amjqe gU4D8tl5uwPQBrOcogFS8gDg4p/gpvlZQY69YXV6YjJSbR9D1W+g5CC0+K4VceOQCme7 3zhFenulJMSnBSUOoNFQQJ7umWWHd2qD5T84o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ce5uqVUCENqKY0zgQlxumZUJskv4FEwM8nlNZT7ffIyMQvIlMAKEeZ8LaBwM/BAfYL V5FPqXkZfEhjKoonsqxiklWjgbBanEkXftEwo2dN2HdvjETI/fN7mGZAR4UcC/hYkAVq XDeb/hnMYXeDTLPLTC+EZ3LJQKInVuofmwqTs=
- User-agent: Thunderbird 184.108.40.206 (X11/20100317)
My apologies: initial message got sent prematurely. Please find updated version below. Thank you!
Main changes from version below. I actually have _two_ versions on site (being uploaded as we speak).
for elements). Relies of sleep statements completely, but works quite well.
The other (unstable) version actually retrieves a full DOM structure for each web page. There are two issues:
1) how to detect when a page has _truly_ loaded in a cross-browser way. I have some ideas with regards to this (setInterval with a function that will check for creation of any new elements whose IDs are not known, say, every 1 second; when no new elements have been created in 1 second, it means we are done)
In any case, looking much forward to your input.
Unstable version - DOM-based framework, along with tester application (Firebug-like). Unfortunately has some kinks on Windows.
Please bear with me as I release a new version of the SWT Web Automation Framework at
now licensed under EPL v1. I would still like to contribute the parts of the framework that are in my
classes back to the SWT project if possible.
Just to remind, this is a cross-platform solution that allows:
* end user web automation applications
* with the ability (that SWT provides) to hide the browser from the user
You will find on the Web site, additionally, a sample application (Facebook Birthday Greeter), as well as a Web Automation Framework
Notably, the big change from the previous version is that I use NekoHTML to actually parse a DOM structure for the given document. This allows some additional capabilities not present in the prior version, specifically the use of XPath expression querying.
Additionally, it makes the methodology somewhat neater, and, as you can see by the Web Automation Framework Tester tool (which, I have to
say, simulates to some extent the Firebug Firefox Extension - and thank you to Grant Gayed on the SWT forums for all your help.
There is much to be done on the back end side. Roughly, to keep a consistent API, I am following that of WebDriver
although, as you can see, there are additional features that are not present there.
In any case, I still have much work to do. I have implemented the examples from WebDriver in org.eclipse.swt.browser.webdriver.Test
In any case, I look forward to your comments/support/encouragement etc.
p.s. There are some known problems right, especially with detecting mouse move events in the Tester in Windows IE. I will work on fixing this. Thank you!