Link to home
Start Free TrialLog in
Avatar of psenn
psenn

asked on

Selenium

I'm trying out Selenium from http://www.openqa.org/selenium/ to test my web pages.
The problem is: it doesn't seem to recognize the 'back' button, so if I
click on a link,
click back and
click on another link,

Selenium doesn't go back and therefore doesn't find the 2nd link.
ASKER CERTIFIED SOLUTION
Avatar of bwasyliuk
bwasyliuk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of psenn
psenn

ASKER

I found out that I had downloaded the IDE instead of the core files.
The IDE gives you a taste of the potential, but the real work is done in the core files.
If you want to see it in action, you should go to
http://www.openqa.org/selenium-core/demo1/TestRunner.html
and then click the "all" button.

The core files have many more tests, but you have to remember to run Selenium on a browser from the same computer that Selenium is testing.
The faq says something about if your code is on computer A, then Selenium has to be on computer A.
For Going Back to Browser History, Click Selenium.goBack() will take you to the last page visited. Same as Browsers Back Button.