Esempio n. 1
0
 public TimeCardPageDriver(IE ie)
 {
     WeekEndingList    = new WatinSelectList(ie, this, "WeekEnding1");
     WeekDateList      = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_ddlDate");
     EarningCodes      = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_ddlEarnCode");
     ContractLines     = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_udfControl_udf1_ddlValue");
     ContractNumbers   = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_udfControl_udf2_ddlValue");
     ActivityIDs       = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_udfControl_udf3_ddlValue");
     ProjectIDs        = new WatinSelectList(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_udfControl_udf4_ddlValue");
     Hours             = new WatinTextField(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_txtHours");
     SaveDetailsButton = new WatinLink(ie, this, "repHourlyTimeCards_ctl00_uclHourlyTime_lbtnSaveDetail");
 }
 public LoginPageDriver(IE ie)
 {
     UserNameField = new WatinTextField(ie, this, "txtUserName");
     PwdField      = new WatinTextField(ie, this, "txtPassword");
     LoginButton   = new WatinButton(ie, this, "lBtnLogin");
 }
 public LoginPageDriver(IE ie)
 {
     UserNameField = new WatinTextField(ie, this, "txtUserName");
     PwdField = new WatinTextField(ie, this, "txtPassword");
     LoginButton = new WatinButton(ie, this, "lBtnLogin");
 }