Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
AdityaT
Posts : 2
Join date : 2013-01-09

Selenium : Intermittent NoSuchElementFound Exception  Empty Selenium : Intermittent NoSuchElementFound Exception

Wed Jan 09, 2013 7:52 pm
Hi

I am facing intermittent issue "NoSuchElementFound" while running my test cases. Some time it works fine but sometime fails with this exception. I am using selenium version 2.14.1 and firefox version 11.0.

Can someone please help me on this.

Thanks
Aditya
rohit13
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 37
Location : INDIA
http://radical-qa.blogspot.in/

Selenium : Intermittent NoSuchElementFound Exception  Empty Re: Selenium : Intermittent NoSuchElementFound Exception

Thu Jan 10, 2013 4:20 pm
There may be the chances that page is not redirected fully to link where this element is present while executing this command. thats why you are getting this error.

Just check that whether this problem is there..
If this is the case, then you need to wait till page gets load and then execute next command..
avatar
AdityaT
Posts : 2
Join date : 2013-01-09

Selenium : Intermittent NoSuchElementFound Exception  Empty Re: Selenium : Intermittent NoSuchElementFound Exception

Fri Jan 11, 2013 6:17 pm
Hi Rohit
I have tried putting wait but it fails after waiting for given time as timeout issue.

Thanks
Aditya
avatar
popsha
Amateur
Amateur
Posts : 60
Join date : 2012-04-14

Selenium : Intermittent NoSuchElementFound Exception  Empty Re: Selenium : Intermittent NoSuchElementFound Exception

Mon Jan 14, 2013 10:04 am
my idea for this is to have isDislpayed() function for a web element on the page for validation. if it returns false then you have to give wait command as Rohit mentioned.

try increasing implicitlyWait
Sponsored content

Selenium : Intermittent NoSuchElementFound Exception  Empty Re: Selenium : Intermittent NoSuchElementFound Exception

Back to top
Permissions in this forum:
You cannot reply to topics in this forum