Monday, February 5, 2024

Web Site Test Scenarios

 Button

  • Verify button is visible 
    • driver.findElement(By.id("row")).isDisplayed()
  • Verify button is enabled
    • driver.findElement(By.id("new")).isEnabled()
  • Verify the button text
    • driver.findElement(By.id("id")).getText()
  • Verify button is aligned 
  • Verify the colour of the button and text
    • driver.findElement(By.name("row")).getCSSValue(String property name)

More info : https://zonedeamez-45168470.hubspotpagebuilder.com/

Web Site Test Scenarios

  Button Verify button is visible  driver.findElement(By.id("row")).isDisplayed() Verify button is enabled driver.findElement(By.i...