I was wondering if i can write a program that clicks some buttons in a specified order in a web app or a web site. For example click Autos then weather then sports in http://www.bbc.co.uk/ with that order. I have made some search but i didn't find anything about that. I don't know even in what language i can write it or how to start.
Asked
Active
Viewed 105 times
0
-
It sounds like you're talking about "browser automation." A popular tool for that is Selenium: http://docs.seleniumhq.org – David Oct 05 '13 at 16:02
-
look for windows automation, or web app testing software. Me I'd just host a webcontrol and hit the three urls – Tony Hopkinson Oct 05 '13 at 16:04
1 Answers
1
It is possible. Here are 2 possible ways you can take:
- Java with Robot class
- Python with pywin32 or see example from stackoverflow
Java example:
Robot r=new Robot();
r.mouseMove(x,y);
r.mousePress(InputEvent.BUTTON1_MASK);