How to test the jQuery UI slider widget with Selenium IDE?

后端 未结 2 1789
南旧
南旧 2021-02-15 21:22

We are using the jQuery UI slider widget in our web application and we want to automate testing of the UI with selenium IDE. We can\'t find a way to move the slider with seleniu

2条回答
  •  天涯浪人
    2021-02-15 21:26

    You can use the dragAndDrop command to move the slider. The following worked for me:

    dragAndDrop | css=.ui-slider-handle | +100,0
    

    This moves the slider 100 pixels to the right of its current position.

提交回复
热议问题