Display results as :

Rechercher Advanced Search


How to enter into utlimate editor similar to FCK in explorer

View previous topic View next topic Go down

How to enter into utlimate editor similar to FCK in explorer

Post by Adviser on Tue Aug 11, 2009 1:11 pm


There are different type of editor is using in application and it is really going to tough to identify in selenium. One user face problem in running IE but succeed in firefox. so I am going to tell you , how to write in ultimate editor through RC in java.

First of go through this link to get idea of ultimate editor :

Sample snippet of code:

import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.SeleneseTestCase;
import com.thoughtworks.selenium.Selenium;

public class fckEditor extends SeleneseTestCase
public Selenium browser;

public static void main(String arg[]) throws InterruptedException
fckEditor obj = new fckEditor();

public void setUp() throws InterruptedException
browser = new DefaultSelenium("localhost",4444,"*iexplore","");
browser.type("//body", "this is testing <p> great </p>");

Note: You have to connect the selenium java jar and junit to this code.

This code is working fine both in IE and firefox.Modify the code according to your requirement. Enjoy it.
Best Of luck



Posts : 379
Join date : 2009-07-30
Location : India

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