public TestSiteObject() : base("http://www.google.com", "pictures") { browser = new IE(this.Website); browser.WaitForComplete(20); dal = new awaDAL.DAL(); dal.Init(@"Data Source=..\..\..\db\AutoWebAgentDB.sdf;Password=koby3274;Persist Security Info=True"); }
public TestStepConditionAction() { //browser = new IE("http://www.google.com"); browser = new IE(@"http://localhost/testPage.htm"); //file:///C:\Documents and Settings\User-1\My Documents\לימודים\AutoWebAgentProject2009\AutoWebAgent\trunk\AutoWebAgent\TestAWA\testPage.htm browser.WaitForComplete(20); dal = new awaDAL.DAL(); dal.Init(@"Data Source=..\..\..\db\AutoWebAgentDB.sdf;Password=koby3274;Persist Security Info=True"); main = new SiteObject("testpage", "text1"); aux = new SiteObject("testpage", "area1"); button = new SiteObject("testpage", "b1"); steps = new StepCollection(); actions = new ActionCollection(); conds = new ConditionCollection(); }