Esempio n. 1
0
        public void ClickSearchAdvanced(bool showMore)
        {
            bool isExpanded = _searchAdvancedButton.GetText().Trim().Equals("Show Less");

            if ((showMore && !isExpanded) || (!showMore && isExpanded))
            {
                _searchAdvancedButton.Click();
                Wait.WaitForControl(SimsBy.Name("PrimaryClass.dropdownImitator"));
            }
        }
Esempio n. 2
0
 public void SelectEthnicCulturalTab()
 {
     _ethnicCulturalLink.ClickByJS();
     Wait.WaitForElementDisplayed(SimsBy.Name("HomeLanguage.dropdownImitator"));
 }
Esempio n. 3
0
 public void SelectJobDetailsTab()
 {
     _jobDetailsLink.ClickByJS();
     Wait.WaitForElementDisplayed(SimsBy.Name("PlaceOfWork"));
 }
Esempio n. 4
0
 public void SelectPersonalDetailsTab()
 {
     _personalDetailLink.ClickByJS();
     Wait.WaitUntilDisplayed(SimsBy.Name("Forename"));
 }