Пример #1
0
        /// <summary>
        /// This method first search for Password element on UI and wait unit element is displayed and retrun element for operation
        /// </summary>
        /// <param name="driver"></param>
        /// <returns> Passowrd</returns>
        public IWebElement Password(IWebDriver driver)
        {
            IWebElement Password = GetWebDriverLocator.FindElement(GetPasswordLocatorType, GetPasswordLocatorvalue, driver);

            return(Password);
        }
Пример #2
0
        /// <summary>
        /// This method first search for Submit element on UI and wait unit element is displayed and retrun element for operation
        /// </summary>
        /// <param name="driver"></param>
        /// <returns> Submit</returns>
        public IWebElement Submit(IWebDriver driver)
        {
            IWebElement Submit = GetWebDriverLocator.FindElement(Submitlocatortype, SubmitlocatorValue, driver);

            return(Submit);
        }
Пример #3
0
        /// <summary>
        /// This method first search for Username element on UI and wait unit element is displayed and retrun element for operation
        /// </summary>
        /// <param name="driver"></param>
        /// <returns> username</returns>
        public IWebElement Username(IWebDriver driver)
        {
            IWebElement username = GetWebDriverLocator.FindElement(GetUserNameLocatorType, GetUserNameLocatorvalue, driver);

            return(username);
        }