Selenium WebDriver Tutorial #29 - How to Automate Slider in Selenium

preview_player
Показать описание
In this selenium webdriver tutorial we will learn how to automate slider in Selenium WebDriver.

Handling sliders in Selenium is possible by Actions class and we will learn step by step how to handle these sliders in any selenium automation script.

Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

Hi All, I little correction in the video, when working with sliders you can put "0" for Y Coordinate as you are not moving sliders anywhere in the Y direction. If you put Y coordinate value it should work if your Y axis value is accurate but its recommended to put 0 for Y axis if you are not moving slider in Y axis direction. Sorry for confusion. Regards, Manish

softwaretestingmentor
Автор

what plugin is that, which allowed you to get the location of the slider?

Zack-nivz
Автор

Thankyou so much you made it so simple .. one question though, what was that extension you used to locate the coordinates ?

b.r
Автор

I was getting boundary errors but setting the y coordinate to '0' helped as this doesn't change.

action.dragAndDropBy(greenslider, 100, 0).perform();

LittleBearBimble
Автор

Amazing video thank you so much! I was getting frustrated, I tried to change the value of the HTML from 100% to 50% which moved the slider but didn't affect the search results haha

keifer
Автор

would you happen to know how to automate a html5 video slider? play, pause, fast forward and send slider to the end?

Zack-nivz
Автор

i want to check sliders on 200 sites. also for all sites slider position is different so how to automate it.

sujatawarke
Автор

Which extension is used to get coordinates??

paraspawar
Автор

what if the slider handle doesnt have xpath?

nuramalia