selenium - Select option are in "_listener" attribute -


have tag like:

<select class="xyz"_listener= "<select class="gwt-listbox"><option value="select option"></option> <option value="name1"></option> <option value="name2"></option> <option value="name3"></option> </select>" </select>          

if have options under select tag, take using select class. here select value(name1, name2, name3) being in _listener attribute.

so how value , give input drop down box in selenium?

try using concat function append double quotes in value below

    \\select[@_listener='concat('<select class=',",'gwt-listbox',",'<option value=',",-----------------] 

hope work..


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -