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

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -