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")); } }
public void SelectEthnicCulturalTab() { _ethnicCulturalLink.ClickByJS(); Wait.WaitForElementDisplayed(SimsBy.Name("HomeLanguage.dropdownImitator")); }
public void SelectJobDetailsTab() { _jobDetailsLink.ClickByJS(); Wait.WaitForElementDisplayed(SimsBy.Name("PlaceOfWork")); }
public void SelectPersonalDetailsTab() { _personalDetailLink.ClickByJS(); Wait.WaitUntilDisplayed(SimsBy.Name("Forename")); }