Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

I am getting a save pop-over on running my RC script.

View previous topic View next topic Go down

I am getting a save pop-over on running my RC script.

Post by sree.dimit on Mon Jan 31, 2011 4:27 pm

When I run my Selenium RC script, Istead of opening my application [that I am written to opwn in the script] , it opens the following URL and a save pop-over displayed and unable to proceed with the script run.
URL: http://localhost:4444/selenium-server/core/Blank.html?start=true

My script is as below:
package com.contactme;
import com.thoughtworks.selenium.*;
import org.openqa.selenium.server.SeleniumServer;
import org.testng.annotations.*;
import static org.testng.Assert.*;
import java.util.regex.Pattern;
import com.thoughtworks.selenium.SeleneseTestCase;
public class login extends SeleneseTestCase {
@BeforeClass
public void setUp() throws Exception {
SeleniumServer seleniumserver = new SeleniumServer();
seleniumserver.boot();
seleniumserver.start();
setUp("Here I entered my test sites URL, sorry I can not explore it here", "*firefox");
// selenium.windowMaximize();
}
@AfterClass
public void tearDown() {
selenium.close();
selenium.stop();
}
@Test
public void testUntitled() throws Exception {
selenium.open("/");
selenium.click("nav_login");
selenium.waitForPageToLoad("30000");
selenium.type("user_email", "here I used a login email ID");
selenium.type("user_password", "here is the password to enter");
selenium.click("//input[@type='image']");
selenium.waitForPageToLoad("30000");
verifyTrue(selenium.isTextPresent("(logout)"));
}
}

sree.dimit

Posts : 1
Join date : 2011-01-31

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum