This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I've not used Selenium in this context, but I can have a guess.
Firstly, note that you're searching for an element with id "boundlist-1146-listEl", but the HTML you're showing doesn't show any element like that. Presumably it's supposed to be the container for what you've shown us.
Anyway, based on the error message, it sounds like you're trying to get Selenium to simulate a click on an element that is not currently showing on the interface. It's trying to simulate a user, and a user can't click on something they can't see.
So I'd expect to see a message like that if I had, for example, a popup menu, and I was trying to click on an item in a menu when that menu wasn't actually "popped up". Is that list item supposed to be visible all the time? If not, it looks like you aren't triggering whatever it is that will make it visible.
Joined: Sep 30, 2013
Thank you for your reply. I think I havent copied over everything. I will re do it
This is the xPath : .//*[@id='boundlist-1146-listEl']/ul/li
The drop down list is visible as I have created the click to pull it down. That works fine. I have now tried with a 5 second wait but still nothing.
The id attribute maybe the problem. If you are using selenium to automate a script on an application like DevTrack, DevTest or Jira, that id is probably dynamically created could change every time the page is loaded (the number 1146 could be 2497 on the next page load). If you use the Selenium IDE to capture that element, look at the target for the select command and see if there are other choices besides the id attribute to identify the select. You might have a class or name attribute you could use.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com