tag:blogger.com,1999:blog-2973787519736718861.post3915272778276862753..comments2024-03-13T05:54:14.145-07:00Comments on Software testing tutorials and automation: Selenium WebDriver : Difference Between findElement and findElements with exampleUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2973787519736718861.post-72035995950515499572017-03-30T06:05:40.179-07:002017-03-30T06:05:40.179-07:00good blog.
One more point. Never use Assert in th...good blog. <br />One more point. Never use Assert in these kind of For loops.chethhttps://www.blogger.com/profile/04732632446972661356noreply@blogger.comtag:blogger.com,1999:blog-2973787519736718861.post-77738674267028700882017-03-28T04:23:42.996-07:002017-03-28T04:23:42.996-07:00Good catch GeoffreyGood catch GeoffreyPurushothamhttps://www.blogger.com/profile/13716794301507499675noreply@blogger.comtag:blogger.com,1999:blog-2973787519736718861.post-74655723110547896412016-06-10T02:28:35.009-07:002016-06-10T02:28:35.009-07:00Hi Aravind,
There is an error in your code:
for(...Hi Aravind, <br /><br />There is an error in your code:<br />for(int i=0;i<=options.size();i++)<br /><br />Result = java.lang.IndexOutOfBoundsException. Index is identical to size.<br /><br />This should be:<br />for(int i=0;i<options.size();i++)<br /><br />Because the index of the list starts from zero.<br /><br />Regards,<br /><br />Geoffrey<br />Anonymoushttps://www.blogger.com/profile/02904841457234563661noreply@blogger.com