Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a website. Here is the URL :

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.

share|improve this question
5 seconds of googling found Slider movement possible in Selenium? which is itself a duplicate ... And question was even upvoted... – Peter Masiar Jun 11 '14 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. – log_file Jun 14 '14 at 11:49

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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