how to automatically run test scripts from inside a webpage
enric jaen
Greenhorn
Joined: Oct 15, 2010
Posts: 25
posted
0
I want to automatically emulate user actions within a webpage in a similar way that Selenium does, but running the scripts from inside a webpage, and using the browser itself (instead of creating a browser instance in some language).
Notice that I don't mean the Selenium IDE (which opens a new window in FF), but I mean running the test from inside a webpage.
I can't understand what you are trying to achieve. Could you please specify what special things you want to have, that Selenium, Geb, Watir & friends can't?
Tomek Kaczanowski
Book author: Practical Unit Testing with TestNG and Mockito
http://practicalunittesting.com
enric jaen
Greenhorn
Joined: Oct 15, 2010
Posts: 25
posted
0
Example: Suppose I had a web page that when I do a click automatically brings me to my Amazon bought books.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
That doesn't really make it any clearer. If you don't want a browser instance, check out the HtmlUnit and jWebUnit libraries.