pause(timeout);
browser.openWindow(CONTEXT_PATH + getProperty("MAIN_PAGE"), "0");
pause(timeout);
browser.selectWindow("0");
login("demo", "demo");
SeleniumBookingTest t = new SeleniumBookingTest();
t.enterSearchQuery("W Hotel");
browser.click(getProperty("SEARCH_RESULT_TABLE_SECOND_ROW_LINK"));
pause(timeout);
//open the url in a second window
String url = browser.getLocation();