Testing Java Components
I am currently studying Java to be able to test Java Components in future. I have a bit of an experience with testing ActiveX components. I want to know what is the difference in testing both these kinds of components? How much knowledge of Java is absolutely required to test Java components?
Can anyone help me?
Re: Testing Java Components
I would not concern your self with knowing Java itself but rather knowing what "things" make up a Java application/applet.
Knowing how to program with Java Sockets is not very important when testing the GUI interface of a Java program!
Knowing that a Java Program that uses Swing is going to behave differently and use different classes then a Java program that uses the AWT classes.
What I am getting at is when you are doing a regression test of any GUI application (VB, VC, Java, Delphi, etc.) it really should not require you to know HOW to program in that language but it should require you to know WHAT a program is using. The reason behind this is that most regression testing tools rely on some type of hooking process that is going to rely on a application to use a specific chunk of code (ie. a certain DLL, JVM, Class, etc.) This is how almost any tool looks at what is being done behind the scenes (ie. User clicked on the Button with the Text "Ok" ) and then replays it or automates it.
You may want to examine the different tools that are on the market today and find one that fits your current application and where your application may end up going ( this is where knowing what your application is using, Swing or AWT, comes into play.) If you application currently uses AWT but will eventually use Swing then you will want a tool that currently supports both so you will not have to relearn the tool once your application changes.
Hope this helps.
Have a good day!