sumitmishra
15 years agoOccasional Contributor
SoapUI integration with seleniumRC
I was able to integrate Selenium-RC with SoapUI by directly using the java client driver provided by thoughtworks (DefaultSelenium class). Only tweak that I did was to create my own wrapper class around it and make it a singleton. This allowed me to use the Selenium handle across test steps thus allowing me to implement my automation in a more modular fashion.
Without the wrapper I am forced to code my entire UI scenario in a single step as i can't pass the selenium handle around. Singleton solves this problem, but the problem with making it a singleton is that you can have only one instance running and so cannot have multiple browser sessions going on simultaneously.
I am not a java programmer, and so the wrapper class singleton implementation is basic and solves my purpose. i just wanted to share this information in this forum as I spent quite sometime looking around for such a solution.
Without the wrapper I am forced to code my entire UI scenario in a single step as i can't pass the selenium handle around. Singleton solves this problem, but the problem with making it a singleton is that you can have only one instance running and so cannot have multiple browser sessions going on simultaneously.
I am not a java programmer, and so the wrapper class singleton implementation is basic and solves my purpose. i just wanted to share this information in this forum as I spent quite sometime looking around for such a solution.