public bool ApplicantMandatoryFill()
        {
            ApplicationForm page = new ApplicationForm(JobName, JobAlias);

            if (page.ApplicantMandatoryFill())
            {
                TestResultInPages.Add(new TestResultInPage(TestName, true));
            }
            else
            {
                TestResultInPages.Add(new TestResultInPage(TestName, "Failed", false));
            }
            return(true);
        }
 private bool MandatoryTestNationality()
 {
     TestName = string.Format("{0} - Mandatory Test Nationality", Name);
     try
     {
         if (ValidationNationality.Displayed)
         {
             TestResultInPages.Add(new TestResultInPage(TestName, ValidationNationality.Displayed));
             return(true);
         }
         else
         {
             TestResultInPages.Add(new TestResultInPage(TestName, false));
             return(false);
         }
     }
     catch (System.Exception ex)
     {
         TestResultInPages.Add(new TestResultInPage(TestName, ex.Message, false));
         return(false);
     }
 }