I am pretty new to Selenium and using Selenium IDE for my automation. I get stuck at one point. Basically, there is a "selectMonth" drop down in the calendar control which I need to open it. Following is the HTML Code:
"<"select class="ui-datepicker-month" data-event="change" data-handler="selectMonth" style="background-color: rgb(255, 255, 255);"> //Please ignore the inverted commas besides (select), it doesn't allow simple select tag)
<option value="0">
Jan
</option>
<option value="1">
Feb
</option>
<option value="2">
Mar
</option>
<option value="3">
Apr
</option>
<option value="4">
May
</option>
<option value="5">
Jun
</option>
<option selected="selected" value="6">
Jul
</option>
<"/select> //Please ignore the inverted commas besides (select), it doesn't allow simple select tag)
I am using following commands but it doesn't work. However, when I click on "Find" button on Selenium IDE, it does highlight the element in yellow. Not sure what I am missing over here.
Command: click Target: //html/body/div[3]/div/div/select[1] // This is through xPath
Command: click Target: css=select.ui-datepicker-month
Any help would be appreciated. See the attached screen shot for the reference.