Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

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