Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since Selenium has problem accessing a standalone window, I have to use RFT just to handle this window. I made a jar file from the RFT script and added it to Selenium library. But it seems Selenium doesn't recognize the class in the jar file added. I don't know if I've done anything wrong or it is just a problem of running RFT in Selenium.

share|improve this question
Can you show the details of what you're doing, and what error you're getting? Is the error at compile time or runtime? – vincebowdren Aug 13 '13 at 14:40

It's been years since I've had any contact with RFT, but I seem to remember it being possible. Here's what I found online (all links at the end).

The SQABlogs site has some example code that claims to be able to do this, but it's from back in 2008, which would have been RFT v8.0 or earlier. In v8.2.0.1, RFT changed their project layout such that RFT had to be installed on the machine for projects to run. This change may prevent the code given from working on more recent version.

An automation guy named Devraj claims to have it working from Ant. This seems to be a similar solution to the one described in a moderately horrible IBM TechNote.

There seem to be a few others around the web who've also tried. Here's the references, in descending order of likely usefulness:

Hope that helps!

share|improve this answer

AFAIK it won't be possible to call RFT from Selenium as you won't have access to the RFT objects outside RFT.

share|improve this answer
RFT objects are all contained in the RFT libraries, so as long as you import them you should be okay – Yamikuronue Mar 4 '14 at 13:02

It is hard for me to believe that Selenium is unable to access a browser window. If that is true, it would be nice if you could clarify the "how" that can be. Keep in mind that on hard to handle windows you also could use Sikuli to use screenshot matching to control mouse clicks rather than use RFT. Also, if your project is configured using Maven , I see no reason why you cannot download just about any library you want into your project, giving your code access to much more than just Selenium.

share|improve this answer

Use sikuli or AutoIT to handle things not supported by Selenium directly

share|improve this answer
Considering the age of this question and the number of other answers, you should be giving a lot more information to make your answer useful. Could you please add the advantages and disadvantages of Sikuli and AutoIT for the OP's situation? – Kate Paulk Sep 3 '14 at 14:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.