I am new to selenium and i would like to perform a simple task I want to select a drop-down from a tab and i have used "http://www.spicejet.com/" as an Reference.
There is a Tab "Add-On" in webpage spicejet.com and it contains Drop Down value i would like to select any one value from the list.
HTML code don't have select tag so Select class not giving me appropriate result.
Here is the HTML code:
<a href="javascript:void(0);" id="highlight-addons" class="">Add-Ons<span class="rightarrowclass"> </span><span class="rightarrowclass"> </span></a>
<li><a href="SpiceClubMembershipOffer.aspx">SpiceClub Membership Offer</a></li>
<li id="ctl00_lblSpiceClublink">
<a id="ctl00_lblSpiceClub" href='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$lblSpiceClub", "", false, "", "SpiceClub.aspx", false, true))'>SpiceCash/SpiceClub</a></li>
<li><a href="http://book.spicejet.com/SpiceMoneyTopup.aspx">SpiceCash Topup </a></li>
<a href="http://book.spicejet.com/RetrieveBooking.aspx?AddSeat=true">SpiceMax </a>
Please help me let me know how to move forward.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…