AND, OR operators in Xpath
//input[@value=’Google Search’ and @aria-label=’Google Search’] Read more »
Axes metods in Xpath
An axis represents a relationship to the context (current) node, and is used to locate nodes relative to that node on the tree. Examples: Navigate to https://google.com.. //textarea[@name=’q’]//..//child::textarea //textarea[@name=’q’]//..//parent::div //textarea[@name=’q’]//self::textarea Read more »
Selenium – User Interactions
Selenium WebDriver is the most frequently used tool among all the tools available in the Selenium tool set. Hence it is very important to understand, how to use Selenium webDriver Read more »
Selenium – Interacting with Textbox
Input Box Input boxes refer to either of these two types: Text Fields– text boxes that accept typed values and show them as they are. Password Fields– text boxes that Read more »
CheckBox & Radio Button Operations in selenium C#
CheckBox & Radio Button Operations in selenium C# CheckBox & Radio Button Operations in selenium C# are easy to perform and most of the times the simple ID attributes work fine for both Read more »
Handling Selectbox in Selenium
Handling SelectBox In Selenium [Test] public void HandlingSelectBox() { IWebDriver dr = new ChromeDriver(); dr.Navigate().GoToUrl("https://demo.guru99.com/test/newtours/register.php"); IWebElement ddCountry = dr.FindElement(By.Name("country")); SelectElement objSelect = new SelectElement(ddCountry); objSelect.SelectByIndex(2); objSelect.SelectByText("INDIA"); objSelect.SelectByValue("CHINA"); Console.WriteLine("Multiple values allowed:" Read more »
Exceptions in Selenium
Exceptions in Selenium: Here are the most common Exceptions in Selenium.. What are Selenium exceptions? Definition An exception is known as an unusual or unprecedented event that occurs during the execution Read more »
Selenium – ElementNotVisibleException
ElementNotVisibleException – Clicking Hidden Elements A hidden element is not clickable on web page. There are certain CSS properties you may find on web page which makes the element non-visible Read more »
