public void AddMarkerDetails(string title, string markerfamilyname, string markerothername, string schoolid, string mobilenumber, string landlinenumber, string emailaddress, string prefferdmoode, string contractstate, string contarctstaechangedate, string markerrole, string markersubject, string markerpreviousrole, string capitarole, string capitasubject) { //comFunc.NaviagteToNextPage(); seleniumFunc.WaitForEmentToBeClickable(markercreate.Title); seleniumFunc.SelectValueFromDropDwnUsingValue(markercreate.Title, title); seleniumFunc.WaitAndEnterText(markercreate.Markerfamilyname, markerfamilyname); seleniumFunc.WaitAndEnterText(markercreate.Markerothername, markerothername); seleniumFunc.WaitAndEnterText(markercreate.SchoolID, schoolid); seleniumFunc.WaitAndEnterText(markercreate.Mobilenumber, mobilenumber); seleniumFunc.WaitAndEnterText(markercreate.Landlinenumber, landlinenumber); seleniumFunc.WaitAndEnterText(markercreate.Emailaddress, emailaddress); seleniumFunc.SelectValueFromDropDwnUsingValue(markercreate.preferdmodeofconatct, prefferdmoode); seleniumFunc.SelectValueFromDropDwnUsingValue(markercreate.ContarctState, contractstate); seleniumFunc.WaitForEmentToBeClickable(markercreate.Contractstatechangedate); comFunc.SelectDateFromDatePicker(markercreate.Contractstatechangedate, contarctstaechangedate); seleniumFunc.WaitForEmentToBeClickable(markercreate.MarkerRole); seleniumFunc.SelectValueFromDropDwn(markercreate.MarkerRole, markerrole); seleniumFunc.WaitForEmentToBeClickable(markercreate.MarkerSubject); seleniumFunc.SelectValueFromDropDwnUsingValue(markercreate.MarkerSubject, markersubject); // seleniumFunc.SelectValueFromDropDwn(markercreate.PreviosRole, markerpreviousrole); // seleniumFunc.SelectValueFromDropDwn(markercreate.Capitarole, capitarole); // seleniumFunc.SelectValueFromDropDwn(markercreate.Capitasubject, capitasubject); seleniumFunc.ClickOnElementViaJavaScript(markercreate.TPTMarkingNo); seleniumFunc.WaitAndClickOnElement(markercreate.NewMarkeryes); comFunc.NaviagteToNextPage(); }
//public void LoginAndNavigatToScaningException(string userName, string password) //{ // commFunc.LoginIntoCM("STA_CM", excelUtil.GetDataFromExcel("UserName"), excelUtil.GetDataFromExcel("Password")); // commFunc.SearchCaseReferance(excelUtil.GetDataFromExcel("CaseRefeNo"), null, null); // commFunc.CreateNewFrom(excelUtil.GetDataFromExcel("FormName")); // //comFunc.SignOutUser(); // //log.Info("Login to application"); // //comFunc.LoginIntoPortal(userName, password); // //log.Info("Navigate to From"); // //comFunc.NaviagteToFormUnderMyActivity(myActivityPage.Scanningexception); //} public void SelectExceptionCategory(string exceptioncategory) { seleniumFunc.SelectValueFromDropDwnUsingValue(scanexcept.ExceptionCategory, exceptioncategory); }
public void SelectEnquiryType(string enquirytype) { seleniumFunc.SelectValueFromDropDwnUsingValue(lodgeComplaint.EnquiryTypedrpdown, enquirytype); }