2) Using Junit and WebDriver script, open https://www.cii.in/OnlineRegistration.aspx in Firefox and do the below 1. Select “Number of Attendees” as 3
select -- #drpAttendee-- css
OPTION VALUE =3
Assert the row count is 3
==> //table[@id='Gridview1']/tbody/tr -- elemets value { logic (ele-1 -- ==3) }
Select 1st-row title as ‘Admiral’(Please note use different method for every selection) select --> css- #Gridview1_ctl02_drpTitle option value --> Admiral
Select 2nd-row title as ‘CA’ (Please note use different method for every selection) select --> #Gridview1_ctl03_drpTitle option text --> CA
Select 3rd-row title as ‘CS’(Please note use different method for every selection) select --> #Gridview1_ctl04_drpTitle
option value = 13,14
Print all the options that are available in the title
#Gridview1_ctl04_drpTitle select option will loop with different array value
advertClose -- close popup
//span[@class='long' and text()='Arsenal']