i am trying to capture /automate mouse scrolling event in selenium Ide . Like in Facebook friend list page ,we have to scroll to the end to list all friends. I want to automate that functionality using Selenium IDE .
What i have done :
1 with my current script i can log in to Facebook.
2 then on clicking on my name from the header i can go to my profile page
3 at my profile page , i am storing the value of number of friends , and then on clicking the friends link i can go to the friend list page
4 At friends list page using assert function i compare the value of number friends which i stored at previous page with the number showing at the friend list page
What i am not able to do
1 i want to scroll using command and compare howmany friend are already listed and how much is remaining ,
if (remaining <1) then i will not scroll further
else i will scroll for some amount of time and again compare how much is left.
Mouse scrolling Event
After browsing, I have found that mouse_event(MOUSEEVENTF_WHEEL, 0, 0, 120, 0); is used to simulate scrolling Event of the mouse where MOUSEEVENTF_WHEEL=0x800. But its not working with me. So pleas
Script to upload a file,in selenium IDE
Script to upload a file,in selenium IDE or How to automate uploading a file using selenium
How to handle MouseOver Event by Selenium Web Driver
I am using Selenium webdriver to automate my web application.I have to handle mouse over event in my web application.So how to handle these.For clearafication screenshot is attached. Acyually i have t
How to automate username/password fill for firefox authentication popup using selenium IDE
I got a selenium script that works, but when it is opened with selenium-rc it is in a new instanced which requires me to re-login. Is there a way to automate filling in the username/password for the
Trigger event when moving mouse AFTER scrolling
After I have finished scrolling I want to trigger an event with the jQuery mousemove function. The problem is that by scrolling the mousemove is triggered (http://docs.jquery.com/Tutorials:Mouse_Posit
Flex Builder 3 IDE – Mouse Wheel Scrolling
Currently when I am working in the source code view of the Flex Builder 3 IDE my mouse scroll wheel does not scroll the window up and down. Is it possible to enable this functionality somehow?
Selenium IDE click and drag
I am using the Selenium IDE extension for testing webpages in FireFox and I was able to find out how to perform almost every command that I need to automate testing for my webpage. Unfortunately I wa
How do I run Selenium IDE scripts in Selenium RC?
I am new to using the selenium testing tool and would like to know how to run selenium IDE scripts in selenium RC. I need examples and screenshots please
how to use selenium ide testing tool?
I am a beginner to testing and I have to use Selenium IDE in my project. Can anyone help me in gaining the starting stuff, links containing detailed demo on Selenium, and how to run test cases using S
How to automate drag & drop functionality using selenium web driver
How to automate drag & drop functionality using selenium webdriver in java
Selenium RC :
Selenium IDE :
storeEval | selenium.browserbot.getCurrentWindow().scrollTo(x,y)
<tr> <td>storeEval</td> <td>selenium.browserbot.getCurrentWindow().scrollTo(100,800)</td> <td></td> </tr> <tr> <td>waitForPageToLoad</td> <td></td> <td>10000</td> </tr> <tr> <td>storeEval</td> <td>selenium.browserbot.getCurrentWindow().scrollTo(200,1600)</td> <td></td> </tr> <tr> <td>waitForPageToLoad</td> <td></td> <td>10000</td> </tr> <tr> <td>storeEval</td> <td>selenium.browserbot.getCurrentWindow().scrollTo(300,2400)</td> <td></td> </tr>
This will scroll the window to 3 different coordinates.