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

后端 未结 2 1784
南旧
南旧 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:31

    there is only one (horrible) solution for this. You will have to interact with the slider thought its jquery api.

    selenium has a runScript method where you can pass some javascript to run. Do this only as your last resort though, as this will lead you down a slippery slope

提交回复
热议问题