Example #1
0
        public void OpenCashMethod()
        {
            MultiClubesFunctions mcFunctions = new MultiClubesFunctions();

            var dc = new DesiredCapabilities();

            dc.SetCapability("app", @"\\tsidev\Triade\Application\Dev\MultiClubes\System\MultiClubes\MultiClubes.UI.application");
            dc.SetCapability("debugConnectToRunningApp", true);
            RemoteWebDriver driver = new RemoteWebDriver(new Uri("http://*****:*****@100");
                mcFunctions.SearchElementByIdAndClick("buttonUser");
                mcFunctions.SearchElementByIdAndClick("buttonOK");
            }
        }
Example #2
0
        public void SendUsernameAndPassword()
        {
            MultiClubesFunctions mcFunctions = new MultiClubesFunctions();

            mcFunctions.SearchElementByIdAndSendKeys("textBoxUsername", "qualidade");
            mcFunctions.SearchElementByIdAndSendKeys("textBoxPassword", "DeZer0@100");
            mcFunctions.SearchElementByIdAndClick("button");
        }