Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > Testing and QA

Testing and QA - Page 4

61-80 of 326     Previous     Next
Send All Your System Messages To File
by Kesav Kumar
Often, while developing a system you want to debug it using System.out.println or System.err.println. When development is over you would like to send all those messages to file. The easiest way ...
Easily Track Exceptions That Occur Deep Inside Your App
by Jason Ingram
OBJECT_NAME is a module level constant and 'PROC_NAME is a procedure level constant. You need these because not all objects know their own names, and procedures certainly don't. Use the following ...
Debugging the OCX, DLL, or EXE
by Lev Romanov
The same code can be used for debugging either in development or in production environments. To do so include the following subroutine in the ...
Find Unfinished Code
by Patrick Marshall
Never walk away from a routine that is not functionally complete but that will still compile. You might forget, or be out sick, and the module may never be finished. A simple way to avoid this ...
Viewing Error Outputs From Java Applets in IE
by Nitin Garg
The file Java/Javalog.txt in the Windows directory (i.e. C:\windows\Java.Javalog.txt for windows and C:\winnt\Java\Javalog.txt for NT) contains information for the last applet that was loaded by ...
Another Way to Fix a Single Quote in SQL Statements
by Thomas Wells
A generic approach to making sure a single quote (') does not cause a SQL statement to fail is to replace the single quote with two single quotes, as in the following example: ...
Debugging ActiveX EXE Components
by Peter Luo
Debugging ActiveX EXE components is different from debugging ActiveX DLL components, and a bit more difficult. Here is how to do it: ...
Determine if an Error Has Occured During Object Construction
by Sandeep Gain
This can be achieved in java by throwing an exception from your Constructor. Since Constructors cannot return a value, this is the only way you can achieve error handling.
Use VB's Date/Time Picker Control With No Date
by Jason Ingram
Using the DTPicker control is good except if you
Optimizing String Classes in Java Code
by Naveet Gupta
The String class is probably one of the most used classes in Java. String concatenation via the
Exception Handling, Inheritance and the Need For Strict Rules
by Anil Nair
Java has some strict rules for exception handling when it comes to inheritance and overriding of methods.
View Recordsets in Temporary Grids
by Nazmul Siddiqui
An alternate, convenient way to view recordsets in debug mode is to persist a recordset to disk using rs.save MyFileUNC.ADTG in the immediate window. Note that the file must be of ADTG type (*.
Populating Controls From a Recordset
by Nazmul Siddiqui
On a form, basing populating controls on a supplied record may lead to error, because a perfect match is needed between the control tags and the field list. Any pre-specified error handler jumps ...
Returning a Value from a Function that Throws
by Danny Kalev
A reader asked me the following questions: "Can a function that returns something, throw a exception and still return a value?" Lets' look at a concrete ...
Passing an ActiveX Control As a Parameter
by Mahesh Hegade
Trying to pass an ActiveX control as a parameter to a method on an external ActiveX DLL (or EXE), garners a
Use printStackTrace() method to generate stack
by Deepak Pant
Stack trace is a kind of call stack, which maintains the call sequence of methods at any given point in time. Throwable class in Java provides a method called "printStackTrace()" which can be ...
Java Profiler
by DevX Pro
Is there a profiler like JProbe which supports the Microsoft Virtual Machine? I already tried the -prof switch on the command line, but that doesn't do everything I need.
Significance of const Return
by DevX Pro
What is the significance of const return type from a function? Similar to: const int func1();
Rethrowing a Throwable Exception in Your Code
by Mahesh Chulet
Use the fillInStackTrace() method to rethrow a Throwable type of exceptional condition in your code. This is useful if you want to rethrow a exception that occurred while using a method or creating a ...
xp_cmdshell and Windows Apps
by DevX Pro
Why can't I run an application like ws-ftp from SQL with xp_xmdshell? ws-ftp will start, but it's not visible on the screen.
61-80 of 326     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date