Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

java code to open a web page for functional tester

This is a discussion on java code to open a web page for functional tester within the Rational Robot forums, part of the Software Testing category; Hi, Can some give me the java code to open a webpage within Functional Tester. example, I want to open my default browser to Google ....

Go Back   Geeks Talk > Software Testing > Rational Robot
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 06-30-2009
Expert Member
 
Join Date: Jun 2008
Posts: 212
Thanks: 6
Thanked 12 Times in 11 Posts
learqtptesting is on a distinguished road
java code to open a web page for functional tester

Hi,

Can some give me the java code to open a webpage within Functional Tester.

example, I want to open my default browser to Google.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-30-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 983
Thanks: 155
Thanked 420 Times in 201 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Re: java code to open a web page for functional tester

Hi,

Try this code & Let me know...

String htmlFilePath = "path/to/html/file.html"; // path to your new file
File htmlFile = new File(htmlFilePath);

// open the default web browser for the HTML page
Desktop.getDesktop().browse(htmlFile.toURI());

// if a web browser is the default HTML handler, this might work too
Desktop.getDesktop().open(htmlFile);


Thanks & Regards,
Riju.
Reply With Quote
  #3 (permalink)  
Old 07-01-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,461
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: java code to open a web page for functional tester

Quote:
Originally Posted by learqtptesting View Post
Hi,
Can some give me the java code to open a webpage within Functional Tester.
Hai friend,

Please let me know precisely what so you actually need.

Thanks
Deepa
Reply With Quote
Reply

  Geeks Talk > Software Testing > Rational Robot

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Rational Functional Tester punam.tester Rational Robot 2 08-31-2009 06:28 AM
Rational Functional Tester Divya S.Pillai Rational Robot 1 08-31-2009 06:26 AM
Integrating IBM Rational Functional Tester (RFT) radhakrishnan.tt Quality Center 2 07-08-2009 11:37 AM
Open Source Functional Tool hitesh_shah19 Testing Issues 2 10-16-2008 06:45 AM
Rational Functional Tester Verfication Points. Geek_Guest Rational Robot 0 04-13-2007 09:05 PM


All times are GMT -4. The time now is 03:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved