File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes what are solvents in selenium? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "what are solvents in selenium?" Watch "what are solvents in selenium?" New topic
Author

what are solvents in selenium?

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 980
    
    2
hello all,
i got some task to do in selenium, we are using selenium for gui testing, so i am trying to learn selenium, till now i learned few concept.
Selenium IDE: we use to test gui, but it is limited i mean we can't do programming, in this and all.
Selenium RC: selenium remote control we use to overcome the limitation of selenium IDE.
i get, how to write test cases.

But till now i don't know what are solvents and why we write them.
i searched but i didn't get any tutorial for solvents, we have written numbers of solvents and we are using them to write test cases, and i need to understand them, but i don't know anything about solvents.
can anyone please help me in this.

also please give some examples of solvents, so that i would be able to have better understanding.

Thanks.
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4445
    
    5

Please QuoteYourSources (← click) - I have worked with Selenium and have never heard of "solvents" in this context. A search for "solvents" on seleniumhq.org turns up 0 zero results. Maybe this is something specific to your problem domain?


Junilu - [How to Ask Questions] [How to Answer Questions]
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 980
    
    2
yes, actually i have also search allot for this, but didn't found anything.
but recently came to know, that we used this term in our organization, we have created solvents for our product which uses java api and while writing test cases we use those solvents.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Sounds like an internal term and you can ask your teammates for help.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Brien Coffield
Greenhorn

Joined: Jun 06, 2013
Posts: 1
I came here thinking solvents would be an industry standard word, but it turns out that it must just be an internal term. A company I worked for used solvents to separate a test case from the DOM interaction.

As an example, let's assume your application has a common Wizard component that has an OK button. The test case might read like this:

public void testCreateObject() {
AppSolvent app = new AppSolvent();
WizardSolvent wiz = app.clickCreateNewObjectButton();
wiz.enterName("foo");
wiz.clickOK();
assert(app.objectWasCreated("foo"));
}


The WizardSolvent and AppSolvent would implement the methods that actually do the clicking and DOM interaction. That way the DOM can change and the test can remain the same; only the solvent would need to be updated.
 
wood burning stoves
 
subject: what are solvents in selenium?
 
Similar Threads
Code GUI by hand or Builder tool? What do you preffer?
How do we implement Agile in smaller teams with an organisation?
New to automation tesing
Test Framework for Web Applications?
What is the difference between developer and QA