Tag Info

New answers tagged


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();


Use the Actions object to open a new tab. Perform a action who press and hold the ctrl key and after that press the t key. After that release all keys. ctrl and t is the shortcut to open a new tab in the most browsers. To switch between the tabs you use the following shortcut: ctrl and TAB.

Top 50 recent answers are included