Facing issue with example code given


I have followed your framework example.

When I run the code, I’m getting this error.

Exception in thread “main” org.openqa.selenium.NoSuchElementException: Unable to locate element: {“method”:”id”,”selector”:”log”}

Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {“method”:”id”,”selector”:”log”}

Logfile :

2014-12-01 16:52:01,781 INFO  [Log] $$$$$$$$$$$$$$$$$$$$$                 Selenium_Test_001       $$$$$$$$$$$$$$$$$$$$$$$$$
2014-12-01 16:52:01,781 INFO  [Log] ****************************************************************************************
2014-12-01 16:52:01,781 INFO  [Log] ****************************************************************************************
2014-12-01 16:52:02,444 INFO  [Log]  Excel sheet opened
2014-12-01 16:52:09,719 INFO  [Log] New driver instantiated
2014-12-01 16:52:09,735 INFO  [Log] Implicit wait applied on the driver for 10 seconds
2014-12-01 16:57:24,703 INFO  [Log] Web application launched
2014-12-01 16:57:24,713 INFO  [Log] Username picked from Excel is testuser_1
2014-12-01 16:57:24,713 INFO  [Log] Password picked from Excel is Test@123
2014-12-01 16:57:27,867 INFO  [Log] My Account link element found

Default Asked on December 1, 2014 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)
    Best answer


    This is because the application www.store.demoqa.com is not working since yesterday, we are looking in to this. It is running dead slow. Please close this question.

    Lakshay Sharma

    Professor Answered on December 1, 2014.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.