public void ApplyDealer_BusinessUnit(string dealer, string BusinessUnit) { var Apply_DcDcn = new PageCSFile.ApplyDC_DCN(); PageFactory.InitElements(BrowserFactory.Driver, Apply_DcDcn); Apply_DcDcn.CheckForEditableRow("Dealer"); //check which row is editable in column Dealer Apply_DcDcn.Enter_Dealer(dealer); Apply_DcDcn.GetEditableSerialNoRowNo_MakeCode("Serial Number"); Apply_DcDcn.Enter_BusinessUnit(BusinessUnit); }
public void ApplyMakeCode(string Make, string Year, string Vin) { var Apply_DcDcn = new PageCSFile.ApplyDC_DCN(); PageFactory.InitElements(BrowserFactory.Driver, Apply_DcDcn); Apply_DcDcn.GetEditableSerialNoRowNo_MakeCode("Serial Number"); //get the row no of editable make code Apply_DcDcn.Enter_MakeCode(Make); Apply_DcDcn.Enter_ModelYear(Year); Apply_DcDcn.Enter_AssetVIN(Vin); Apply_DcDcn.Click_finsh_ApplyMake(); }