New answers tagged testng
Suggestion: Every test automation shall run in a dedicated environment, dev code/script/db changes shall always auto deploy to this environment, automated test shall only run here. With such design the team can easily design the automated test an test data as well. After each success test execution, restore the whole db.
To select a value from a dropdownlist or multiselect using Selenium, you will have to use the Select function instead of trying to click on the element. example: Select dropdown = new Select(driver.findElement(By.className("appt-dropdown-menu"))); dropdown.selectByVisibleText(Facial); but as Mutt pointed out, the html code you have given does not ...
I am getting error as -element not visible: is the element visible? Selenium can't interact with invisible elements. If it is visible, you can do something like: driver.findElement(By.xpath("//span[@class='appt-details-dropdown-service-title']")).click();
Top 50 recent answers are included