How to Expand and Collapse using webdriver ?
I am automating through Keyword Framework, Please let me know how to expand and collapse the functionality. Refer attached file. Through classname it is not working as I am getting compound class error. I need to click on + icon and select the child values.
Compund names can be handles by using a . instead of the space between class names. Therefore you class name will become
closed.expandable. It seems that you are using chrome, I would suggest that you simple copy the CSS path of the element and do a click using that. Try the <a> or div if <li> element doesnt work.