Beispiel #1
0
        public static TestAlias GetAlias(this TestParameters testParameters, string name, string webName = null)
        {
            string aliasName = IsWinAdapter(null) ? name : webName ?? name;
            var    options   = testParameters.LoadOptions();

            return(options.Aliases.Cast <TestAlias>().First(@alias => alias.Name == aliasName));
        }