This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Hi I am writing a program that writes .html files. Does any one know how I can launch default browser to on the target system in order to test it (from within my java application) Thanks Steve
posted 12 years ago
Hi steve, If you want to execute other programs from within you code have a look at Runtime.getRuntime().exec(cmd); Warning once you do this you program will be platfrom dependent. Here is a good example of how to launch an internet browner. Hope that helps. Chris [ November 21, 2003: Message edited by: Chris Harris ]