Display results as :

Rechercher Advanced Search

Latest topics
» 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

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


Prob in executing Selecium RC Script in Eclipse

View previous topic View next topic Go down

Prob in executing Selecium RC Script in Eclipse

Post by vinayak on Mon Feb 07, 2011 5:24 pm


I am a beginner in Selenium RC, i started to record some script from IDE and exported to JUnit3. That Java script is copied
to eclipse by adding drivers, package, changing class name etc. Below is the piece of code using in eclipse

package script;

import com.thoughtworks.selenium.*;
import java.util.regex.Pattern;

public class sbi extends SeleneseTestCase {
public void setUp() throws Exception {
setUp("", "*chrome");
public void testsbi() throws Exception {"/");
selenium.type("q", "sbi");"btnG");
selenium.waitForPageToLoad("85000");"link=Welcome to OnlineSBI");
selenium.waitForPageToLoad("40000");"link=Corporate Banking");
selenium.waitForPageToLoad("80000");"link=SBI Express Remit");

Selenium RC Server is Started from the command prompt and run the script from the eclipse. Sometimes Code works
fine with firefox means browser does exactly whateven it has been recorded and in many time the same code works
for a while(exectes 2 or 3 steps upto ""btnG");") and closes the browser with log.

If anyone knows, please share your knowledge here.

Thanks in Advance.


Posts : 1
Join date : 2011-02-07

Back to top Go down

Re: Prob in executing Selecium RC Script in Eclipse

Post by auto_ashish1 on Wed Apr 06, 2011 2:48 pm

Can you please paste your browser logs?



For online Selenium training go to my website-

Active particpant
Active particpant

Posts : 21
Join date : 2011-03-10

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