예제 #1
0
        public API_WordPress_IE(WatiN_IE _ie, Uri serverUri)
        {
            this.ie        = _ie;
            this.ServerUri = serverUri;

            configureDependencies();
        }
예제 #2
0
        public IE_JQuery(WatiN_IE _ie)
        {
            this.ie = _ie;
            this.PathToJQueryFile = @"jquery-1.5.2.min.js".local();
            this.DebugMode        = false;

            ie.onNavigate((url) => this.installJQuery());
            this.installJQuery();
        }
 public API_SuperSecureBank(WatiN_IE _ie, bool disableFlashing)
 {
     ie = _ie;
     if (disableFlashing)
     {
         ie.disableFlashing();
     }
     else
     {
         ie.enableFlashing();
     }
 }
예제 #4
0
        public API_Blogger(WatiN_IE ie)
        {
            if (ie != null)
            {
                IE = ie;
            }
            else
            {
                IE = "".ie(0, 450, 800, 700);
            }

            LoginPage                   = "https://www.blogger.com/start";
            LogoutPage                  = "http://www.blogger.com/logout.g";
            DashboardPage               = "http://www.blogger.com/home";
            ExpectedTitle_LoginPage     = "Blogger: Create your free blog";
            ExpectedTitle_DashboardPage = "Blogger: Dashboard";
            ExpectedTitle_NewPost       = "blog - Create Post";
        }
예제 #5
0
        public static WatiN_IE window(Control control)
        {
            var webBrowser = control.add_Control <System.Windows.Forms.WebBrowser>();
            var ie         = new WatiN_IE(webBrowser);

            ie.HostControl = control;
            ie.setWebBrowserObject(webBrowser);
            var parentForm = control.parentForm();

            if (parentForm.notNull())
            {
                parentForm.Closed +=
                    (sender, e) => {
                    "Parent form closed to detaching and close WatiN_IE".info();
                    ie.detach();
                    ie.close();
                };
            }
            return(ie);
        }
예제 #6
0
 public IE_Google(WatiN_IE ie) : base(ie)
 {
     config();
 }
예제 #7
0
 public API_EventBrite(WatiN_IE watinIe)
 {
     ie = watinIe;
 }
예제 #8
0
 public API_EventBrite()
 {
     ie = "".ie(0, 450, 800, 700);
 }
예제 #9
0
 public API_IE_CxWebClient(WatiN_IE ie) : base(ie)
 {
     config(DEFAULT_SERVER);
 }
예제 #10
0
 public API_IE_CxWebClient(WatiN_IE ie, string targetServer) : base(ie)
 {
     config(targetServer);
 }
 public API_IE_ExecutionGUI(WatiN_IE _ie, string targetServer) : this(_ie)
 {
     TargetServer = targetServer;
 }
 public API_IE_ExecutionGUI(WatiN_IE _ie) : this()
 {
     ie = _ie;
 }
 public API_EtherpadLite(WatiN_IE _ie) : this()
 {
     ie = _ie;
 }
예제 #14
0
 public API_JPetStore(WatiN_IE _ie)
 {
     ie = _ie;
 }
예제 #15
0
 public API_BTOpenZone()
 {
     ie             = "".ie(0, 450, 800, 700);
     defaultWebPage = "http://www.google.co.uk";
 }
 	public API_IE_CxWebClient(WatiN_IE ie) : base(ie)
 	{    		
 	 	config();
 	}
예제 #17
0
 public API_SI_Exams(WatiN_IE _ie)
 {
     this.ie = _ie;
     //setGuiAutomation();
 }
 public IE_TeamProfessor(WatiN_IE ie) : base(ie)
 {
     config();
 }