Example #1
0
 public void EmploymentDetails(string empstatus, string leaver, string branch)
 {
     //  comFunc.NaviagteToNextPage();
     seleniumFunc.EnterTextWithoutClear(markercreate.Employmentstatus, empstatus);
     seleniumFunc.EnterTextWithoutClear(markercreate.Leaver, leaver);
     seleniumFunc.EnterTextWithoutClear(markercreate.Branch, branch);
     comFunc.NaviagteToNextPage();
 }
        public void UploadDocuments(string fileName, IWebElement ele)
        {
            string path        = System.Reflection.Assembly.GetCallingAssembly().CodeBase;
            string actualPath  = path.Substring(0, path.LastIndexOf("bin"));
            string projectPath = new Uri(actualPath).LocalPath;
            string filePath    = Path.Combine(projectPath, "Resources\\" + fileName);

            seleniumFunc.EnterTextWithoutClear(ele, filePath);
            seleniumFunc.WaitForPageToLoad();
        }
Example #3
0
        //public void SelectAppeal()
        //{

        //    seleniumFunc.Click(lodgeComplaint.Selectappeal);


        //}



        public void SelectNatureOfComplaints(string message)
        {
            // seleniumFunc.WaitForEmentToBeClickable(lodgeComplaint.NatureOfQuery);
            seleniumFunc.EnterTextWithoutClear(lodgeComplaint.NatureOfQuery, message);
        }