Reputation: 117
Here, I will click the actions tab and select create new project from the drop down list.
While executing the script in robot framework, after clicking the actions tab the drop down list will be opened and after few seconds it automatically got closed.
I need to know how to keep the list to be in open.
Upvotes: 1
Views: 1091
Reputation: 386230
Most likely, what is happening is that the library you use to create the dropdown is designed to dismiss the dropdown when the mouse leaves the dropdown. If that is the case, the solution is to first move the mouse over the dropdown before clicking on it.
The SeleniumLibrary has a Mouse over keyword that will simulate the mouse being over the element.
Upvotes: 5