wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Can we perform web automation using JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Can we perform web automation using JavaScript" Watch "Can we perform web automation using JavaScript" New topic
Author

Can we perform web automation using JavaScript

Venkateswara Rao K L
Greenhorn

Joined: Aug 27, 2010
Posts: 13
Hi all,

Can we perform web automation using JavaScript...If yes, please let me know how and where to learn it(any tutorial???).
I dont want a tool that does automation using javascript. I want to learn it from basics.
Thanks


Venky
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60761
    
  65

Perhaps you could explain what you mean by "web automation"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Venkateswara Rao K L
Greenhorn

Joined: Aug 27, 2010
Posts: 13
Hi
By web automation I mean automating the clicks and inputs that we provide to web page.
I heard that using VB script we can perform such things but its limited IE objects.
So just wanted to know if we can do this with JavaScript
Thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

No. JavaScript is designed to run within a page and is limited in what it can do. You wouldn't want a webpage to go to other pages without your permission!

Take a look at a tool like Selenium which does do what you want.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Selenium, QUnit, JSUnit, FireUnit

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: Can we perform web automation using JavaScript
 
Similar Threads
home page
Any Solution for this.
TCP/IP for javapos ?
Good Agile book for reference
Javascript error