[Owasp-o2-platform] Using O2 for Browser Automation

dinis cruz dinis.cruz at owasp.org
Fri Oct 1 11:25:01 EDT 2010

On the topic of O2's support for IE Browser Automation (via the WatiN API)

Here is an O2 script that shows a simple Google search query

var ie = panel.add_IE().silent(true);

ie.field("q").flash().value("OWASP O2 Platform").flash();
ie.button("Google Search").scrollIntoView().flash().click();
return ie.fields();

//using O2.XRules.Database.Utils.O2

The latest version of O2 has a new demo file (located at C:\O2
Scripts\_Demos\Browser Automation_IE Demos.h2) which should help new users
to get their head around WatiN's API (if you are using the ClickOnce version
this file should be synced up automatically the next time you start it)

To see this in action, check out this video
- Browser Automation - IE Demos - First
all animations on that video are scripted (i.e. the new version of
O2 also supports the full Automation of Windows Client apps :) ))

Let me know if you have problems running this

Dinis Cruz

Blog: http://diniscruz.blogspot.com
Twitter: http://twitter.com/DinisCruz
Web: http://www.owasp.org/index.php/O2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20101001/11de9773/attachment.html 

More information about the Owasp-o2-platform mailing list