dimanche 2 décembre 2018

Inspect elements are visible, but not clicktable?

Can someone please help me to inspect proper element? I am doing automation testing(java, selenium) and i find the element but when I write CLICK command but my test failed.

Notice: WAIT command and IF condition are recognizing inspected elements, but when i give command CLICK i got error. Elements are not clicktable. I try to inspect on 3 ways:

1.driver.findElement(By.linkText("Contact")).click();
2.driver.findElement(By.xpath("//*[@id='pages-3']/ul/li[2]/a")).click();
3.driver.findElement(By.cssSelector("li.page_item.page-item-155")).click();

Reproduction steps: 1. http://mildsgn.com/

  1. Click on "About Us" button
  2. Scroll down page to the "Useful Links" menu.

4. Click on "Contact" button - ERROR - Element ... is not clickable at point (1289, 69)..

I want to click on "Contact"button from "About Us" page.

Thanks in advanced.

Aucun commentaire:

Enregistrer un commentaire