I am working on a website. Here is the URL : http://northeastindiaholidays.com/.

There are two sliders on the front page:

  1. The one with in the background, with a full resolution image.
  2. The second one which slides the name of the background image.

I was thinking about the possible functional and UI test scenarios for the slider only.

I don't know if it is possible or even useful to design.

But if we design any such test cases, what would they be.

I mean a few examples here.

And can we use Selenium webdriver to execute those tests.

Thanks in advance.

  • 5 seconds of googling found Slider movement possible in Selenium? which is itself a duplicate ... And question was even upvoted... Jun 11, 2014 at 13:23
  • Well Peter, I had looked into this one before coming here. But I am not sure if this applies to the slider I am referring to. Since I am new to Selenium, I may be off on this one. Jun 14, 2014 at 11:49

1 Answer 1


To verify that slider content can be changed manually, the following solution can be used:

WebElement slider = driver.findElement(By.xpath("//div[@id='slider']/a"));
Actions builder = new Actions(driver);

And then check that text or image has changed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.