// ###########################  XML  ##############


        //Type into given xml node
        public void TypeText(string Field, string text)
        {
            String locator = locatorReader.ReadLocator(Field);

            WaitForElementPresent(locator, 20);
            SendKeys(locator, text);
        }
        // ###########################  XML  ##############


        //Type into given xml node
        public void TypeText(string Field, string text)
        {
            var locator = locatorReader.ReadLocator(Field);

            WaitForElementPresent(locator, 20);
            SendKeys(locator, text);
            WaitForWorkAround(3000);
        }
Пример #3
0
        //Click to given xml node
        public void ClickElement(string XmlNode)
        {
            String locator = locatorReader.ReadLocator(XmlNode);

            WaitForElementEnabled(locator, 30);
            WaitForElementVisible(locator, 30);
            Click(locator);
        }
Пример #4
0
        // Verify element is present
        public void verifyElementPresent(string field)
        {
            var locator = locatorReader.ReadLocator(field);

            WaitForElementPresent(locator, 30);
            Assert.IsTrue(IsElementPresent(locator));
        }
Пример #5
0
        // Select element by text
        public void SelectByText(string xmlnode, string text)
        {
            var loc = locatorReader.ReadLocator(xmlnode);

            WaitForElementPresent(loc, 10);
            SelectDropDownByText(loc, text);
        }
Пример #6
0
        //Click to given xml node
        public void ClickElement(string XmlNode)
        {
            String locator = locatorReader.ReadLocator(XmlNode);

            Click(locator);
        }
Пример #7
0
        public void ClickOnButton(string Node)
        {
            var locator = locatorReader.ReadLocator(Node);

            Click(locator);
        }
Пример #8
0
        //Click on Clients in Top Menu
        public void clickClients()
        {
            var locator = locatorReader.ReadLocator("CreatePDFs");

            Click(locator);
        }
Пример #9
0
        // Click on the displayed element.
        public void ClickOnDisplayed(string xml)
        {
            var loc = locatorReader.ReadLocator(xml);

            WaitForElementPresent(loc, 20);
            ClickDisplayed(loc);
        }
        //Click to given xml node
        public void ClickElement(string XmlNode)
        {
            String locator = locatorReader.ReadLocator(XmlNode);

            WaitForElementPresent(locator, 10);
            Click(locator);
        }
Пример #11
0
        // Select element by text.
        public void SelectByText(string xmlNode, string text)
        {
            var locator = locatorReader.ReadLocator(xmlNode);

            SelectDropDownByText(locator, text);
        }
Пример #12
0
        public void EnterUserName(string username)
        {
            var locator = locatorReader.ReadLocator("Login/Username");

            SendKeys(locator, username);
        }