Is it possible to run selenium rc code in 2 different URLs? -
the aut contains login page validates user credentials. once successful, user needs hit new url in new tab access actual application.
is possible automate above scenario using selenium rc?
yes it's possible, i'd recommend using selenium webdriver it's current version. selenium rc old.
using selenium webdriver:
driver.navigate().to("http://aut/login"); driver.... // login logic setting user/pass clicking login. ... driver.navigate().to("http://somenewurl.com"); // continue testing here...
if adamant on remaining selenium 1 (which understand if have big suite in it..):
selenium.open("http://aut/login"); selenium... // login logic here ... selenium.open("http://somenewurl.com"); // continue testing here.
Comments
Post a Comment