Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7728427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:42:53+00:00 2026-06-01T05:42:53+00:00

I am using Selenium to give rating to some video. The page source for

  • 0

I am using Selenium to give rating to some video.

The page source for the rating is:

<img src="/images/largeRating0.png"
    alt="Rating"
    title="Choose a rating then click to submit"
    class="clickable"
    id="ratingImage"
    onmousemove="rEngine.mouseMove( event, this );"
    onclick="rEngine.ratingSubmit( event, this );" />

I am giving the parameters in code for Selenium like this:

selenium.open(url);
selenium.click("id=ratingImage");

It’s doing the process and giving the rating too, but it’s only giving 1 star for every rating I do!

The rating is for 5 stars and when the mouseover is done on the image of rating, it gives the /images/largeRating1.png; /images/largeRating2.png; /images/largeRating3.png; etc..

Every image contains the number of stars.

By default as mentioned above it is <img src="/images/largeRating0.png" ...

Is there any process for accessing Javascript for getting desired results?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:42:54+00:00Added an answer on June 1, 2026 at 5:42 am

    If I understand it correctly, you need to press your mouse button and move it? If that is the case, then this should be of help:

    selenium.dragAndDrop("id=ratingImage","+100,0");
    

    …or some combination of selenium.mouseOver() and selenium.mouseDownAt().

    Otherwise, you can of course invoke the javascript yourself, you just need to understand which arguments to pass to it. Use

    selenium.getEval("rEngine.mouseMove(dontknowwhat, window.document.getElementById('ratingImage'));");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using selenium to run some functional tests on the UI for our current
I am using Selenium IDE Firefox plugin to create some test cases. I click
I'm using Selenium IDE 1.7.2 and Firefox 10.0.2 In the page which I'm writing
I'm using Selenium for work and I have extract some data from //ul, unfortunately
Just using selenium to fill out some forms for me. I need it to
I'm using Selenium in C# with Selenium RC to do some automated interaction testing
We're using Selenium with the Java API and some Javascript user extensions. We use
I am using selenium to automate some IT admin tasks, a NAS (that I
How to automate Uploading a file using selenium . How to give file Path
I am using Selenium WebDriver and want to execute some javascript from a webpage.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.