Selenium IDE-Automating Select2 Search Box -


i trying automate select2 search box in selenium ide. got open , typed search keyword searching for.however though have code in place showing results, not work. problem guess characters getting typed fast, results don't show search box. sure going wrong somewhere, because new selenium ide .so appreciated

  mousedown css=.select2-choice > div > b   type css=input.select2-input.select2-focused chris   waitforvisible css=.select2-results   mouseup css=.select2-result-label:contains('chris') 

i've had deal well, sites test use select2 , select3. i've found works in both situations following:

clickat | css=.select2-choice > div > b |  sendkeys | css=input.select2-input.select2-focused | chris click | css=.select2-result-label:contains('chris') 

with these types of dropdowns, , angular, found sendkeys works better type or typekeys.

klendathu


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -