Using selenium.Uncheck in Webdriver 

Here is the Selenium RC code for selenium.Uncheck in Webdriver. This code is in Visual Studio C#

public void Uncheck(string xpath)
{
if (driver.FindElement(By.XPath(xpath)).Selected)
{
driver.FindElement(By.XPath(xpath)).Click();

}
}


Author: Pavandeep Puddupakkam on December 14, 2011
Category: WebDriver
Tags: , ,
Google Webdriver Forum -The Online Community for Google Webdriver and Selenium RC Users and Professionals

Leave a Reply

Last articles