Selenium with Primefaces not able to find element sometimes

jerrypinto at 14h23
Selenium with Primefaces not able to find element sometimes

I am using Selenium Webdriver for testing my web application . Web application is based on primefaces.

There is a scenario when on click of button a p:confirmDialog box is shown and after clicking on yes button another dialog box is shown with message. Selenium sometimes fails to find this confirmation dialog box element  or the message dialog box and shows timeout exception.

There is also a scenario where on click of button [......]
This topic belongs to the forum
  • Numbers of topics : 2338
  • Numbers of messages : 6053
  • Numbers of users : 5040
  • Numbers of points : 139
Similar topics
Hello All, I get an error while working with Selenium WebDriver in IE 11. I changed the security options, enabled protected mode for all zones but it didn't work for me. Do you have any suggestions? Thanks... Kind regards, Bilge
Hi All, When running the following test, im getting the 'NoSuchElementException' in this code line: driver.FindElement(By.LinkText("exact:Wachtwoord vergeten?")).Click(); There are no proxy servers setted in my browsers. I also tried to set a
Hi All, I am using selenium Rc can any one tell how to use xpath for finding exact element id. with java Regards Viresh SB
hi how to find element by attribute in webdriver
Using IDE I am trying to dynamic locate an element with xpath. Its a text box where you would enter comments here is the source html in my IDE html code looks like this: store xpath=//input[@type='text' and contains(@id,
Forums from same category