New answers tagged

0

First of all, you should not post your account's password publicly. Even if we are talking about the fake one... Please check this article. Examples were prepared in Java but you should easily adapt it to your needs. logOut() method looks like this: public void logOut(){ driver.findElement(By.xpath("//div[@id='userNavigationLabel']")).click(); ...


0

Hope this below code helps driver=new firefoxdriver(); //create select class object for selecting multiple select box field Select s=new Select(driver.findElement(by.cssSelector("select[multiple='multiple']")); /*you can use selectByVisibleText() predefined method of Select class for selecting multiple values*/ s.selectByVisibleText("Wheat - HRW"); s....



Top 50 recent answers are included