Exemplo n.º 1
0
        private void Execute()
        {
            if (!webActions.TryPerformChoise(WebActions.Selectors.country, arguments[0]))
            {
                webActions.TryPerformChoise(WebActions.Selectors.country, "All countries");
            }

            webActions.TryPerformChoise(WebActions.Selectors.city, arguments[1]);
            webActions.TryPerformChoise(WebActions.Selectors.department, arguments[2]);

            List <string> perhapsLanguages = new List <string>();

            for (int i = 3; i < arguments.Length; i++)
            {
                perhapsLanguages.Add(arguments[i]);
            }

            webActions.LanguageClick(perhapsLanguages);

            webActions.DisplayJobNumber(Console.Out);
        }
Exemplo n.º 2
0
 //выбор языка
 private void LanguageChoise_Click(object sender, RoutedEventArgs e)
 {
     webActions.LanguageClick();
 }