[Owasp-o2-platform] Newbie seeking simple getting started error help

dinis cruz dinis.cruz at owasp.org
Tue Mar 6 18:16:54 UTC 2012

Hi Alex

The issue your are having is quite common, since what is happening is that
you are missing the C# compilation references. Since the idea is to have a
stand-alone compilable C# script, those references (in O2) are provided as
C# Comments.

In the case of your script, you are missing


Here is what your script should look like

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


Here are a number of O2 blog entries that should help you in writing your

   jpetstore related IE scripts
   jpetstore related IE scripts
   a bit long, but explains the problem you where having in detail
   - http://o2platform.wordpress.com/category/java/spring-mvc/jpetstore/ -
   more articles on JPetStore

Note that you can import and reference any .NET DLL. For example here is
how you can access inside an O2 Script the Microsoft's AntiXSS library:

//using Microsoft.Security.Application

And here it is in action:

Dinis Cruz

Blog: http://diniscruz.blogspot.com
Twitter: http://twitter.com/DinisCruz
Web: http://www.owasp.org/index.php/O2

On 6 March 2012 14:35, AjaxBike <alexoldman226 at gmail.com> wrote:

> Inspired by Dinis's presentation at Owasp Cambridge last week, I
> downloaded O2 platform. It looks like just the tool I need for sharing
> security tests with developers and support staff, to help us build
> more secure applications.
> With Dinis' shoeless criticism echoing in my head, I will admit that I
> am not a developer, I am a security tester. I am struggling getting
> started with O2.
> I am trying to reproduce the example video at
> http://o2platform.wordpress.com/2011/07/13/writing-an-o2-ie-automation-script-for-jpetstore-account-creation/
> I am using IE Script Execution with the following code:
> panel.clear();
> var ie = panel.add_IE().silent(true);
> ie.open("http://www.mywebsite.com");
> I am getting the following error " 'System.Windows.Forms.Panel' does
> not contain a definition for 'add_IE' and no extension method 'add_IE'
> accepting a first argument of type 'System.Windows.Forms.Panel' could
> be found (are you missing a using directive or an assembly
> reference?)"
> Any clues on how to fix?
> Thanks
> Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-o2-platform/attachments/20120306/5c25730d/attachment.html>

More information about the Owasp-o2-platform mailing list