3

Is there a way we can perform Selenium automation (with Java) on Oracle applications?

On the Oracle website they have given ways by which we can convert the Oracle applications into Oracle ADF faces applications and then automate it with Selenium or the Oracle application can be converted into a webpage and then it can be automated.

But instead of these two methods is there any other way anyone has tried?

I don't want to use other testing tools like QTP, Oracle ATS or Windows (which is an open source tool). So in spite of all this, is there still a way through which Selenium automation can be done on Oracle applications?

8
  • Did you ask to test non-webapplication with web browser? Commented Feb 2, 2012 at 6:16
  • No. I'm asking if oracle applications which is a non web application be tested by selenium through some way.
    – Tom
    Commented Feb 2, 2012 at 6:33
  • Read the Selenium FAQ about Selenium and Webdriver - code.google.com/p/selenium/wiki/FrequentlyAskedQuestions WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application. Selenium works by injecting javascript into the browser - hence it's used for testing web apps Commented Feb 2, 2012 at 12:10
  • yes, i know it cannot be used on desktop applications. but what I'm asking is, if there is some one out there who has implemented selenium automation on oracle applications because I heard that some people have some how did it.according to my experience its not possible to do the automation but now that there are people who say that they have done it, i'm begining to think maybe there is something i don't know about, that why i posted this question
    – Tom
    Commented Feb 3, 2012 at 5:03
  • ok, i found one way, if the front end of the oracle applications is a webpage then selenium can be used. if the front end is oracle forms then it cannot be used.
    – Tom
    Commented Feb 6, 2012 at 11:34

2 Answers 2

4

You can only test HTML based websites with Selenium. If the Oracle application exposes an HTML based front end that is accessible via a web browser then you can use Selenium to test it, if not you can't.

You may want to have a look at native driver:

http://code.google.com/p/nativedriver/

This is based on WebDriver and aims to expand the automation capabilities to desktop applications (I'm not sure how active it is at the moment though).

4

If your question is, "Can I test desktop application with Selenium?", the simple answer would be NO.

Selenium is a Javascript based framework (Javascript is implemented into web browsers) which means that it can interact only with web page elements.

6
  • yes, i know it cannot be used on desktop applications. but what I'm asking is, if there is some one out there who has implemented selenium automation on oracle applications because I heard that some people have some how did it.
    – Tom
    Commented Feb 2, 2012 at 9:03
  • @Tom, maybe I misunderstand but what exactly you mean by saying "oracle applications". Did you mean specific product? Commented Feb 2, 2012 at 9:44
  • Tom, perhaps you could ask for clarification from whoever told you that some people have somehow done it.
    – user246
    Commented Feb 3, 2012 at 1:53
  • @xeranas: this is about oracle application. en.wikipedia.org/wiki/Oracle_Applications
    – Tom
    Commented Feb 3, 2012 at 4:56
  • @user246: yes, i will be communicating with that team next week but in the mean time i just wanted to know if at all some one has done selenium automation on oracle apps. according to my experience its not possible to do the automation but now that there a set of people who say that they have done it, i'm begining to think maybe there is something i don't know abt, that why i posted this question.
    – Tom
    Commented Feb 3, 2012 at 5:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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