How to get all the input values in a form using Selenium -


let's take form of student details; want take take these input data list or set. please check attached picture , give me suggestions.

studendata

to inputs , select can use selector like:

input, select option[selected=selected] 

to input use css selector input tag:

input 

to selected inputs use:

input[type=radio], input[type*=text], select option[selected=selected] 

you need add attribute radio input selected ones, might need dome updates select also.

these selectors estimate of need since html not available.


Comments

Popular posts from this blog

php - isset function not working properly -

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -