コード例 #1
0
        public bool ApplicantMandatoryFill()
        {
            try
            {
                while (!ReadyPage())
                {
                    ;
                }

                Title.SendKeys(Titles.Prof);
                FirstName.EnterText(string.Format("{0}", Name));
                SureName.EnterText(string.Format("{0}", Name));
                Email.EnterText(Emails.HrmTest);
                PhoneNumber.EnterText("081-2564459");

                Nationality.Click();
                PropertiesCollection.Sleep500();
                NationalityGerman.Click();
                PropertiesCollection.Sleep100();

                ApplyNow.Click();
                while (!ReadyThankyou())
                {
                    ;
                }

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }
コード例 #2
0
        public bool InteressentMandatoryFill()
        {
            try
            {
                Language.SendKeys(LanguagesEnglishVersion.English);
                Title.EnterText(Titles.Ms);
                FirstName.EnterText(string.Format("{0}", Name));
                LastName.EnterText(string.Format("{0}", Name));
                Email.EnterText(Emails.HrmTest);
                Telephone.EnterText("084-2565584");

                Nationality.Click();
                PropertiesCollection.Sleep500();
                page1NationalityGerman.Click();

                Submit.Click();

                while (!ReadyThankyou())
                {
                    ;
                }

                return(true);
            }
            catch (Exception)
            {
                return(false);
            }
        }