protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { MESPageService = new Defect(); } }
public void T110_Defect_LOT1() { Defect s = new Defect(); Container co = new Container(); co.ContainerName = "LOT1"; s.Container = co; DefectDetail d = new DefectDetail(); d.DefectQty = 1; s.InsertDetail(d); Assert.IsTrue(s.ExecuteService(), s.CompletionMessage); }