aspose file tools
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
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56529
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 26496
    
  78

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: 15362
    
    6
Selenium, QUnit, JSUnit, FireUnit

Eric
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Can we perform web automation using JavaScript
 
Similar Threads
Javascript error
TCP/IP for javapos ?
Good Agile book for reference
Any Solution for this.
home page