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.

How to select a file from a Disk Drive in a rational robot script?

This is a discussion on How to select a file from a Disk Drive in a rational robot script? within the Rational Robot forums, part of the Software Testing category; Hi, I am new to the Rational Robot. I am creating a script where i need the end user to upload a document from a disk drive. If I write ...

Go Back   Geeks Talk > Software Testing > Rational Robot
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-06-2008
Junior Member
 
Join Date: Mar 2008
Location: Gurgaon
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
sugandhabulu is on a distinguished road
How to select a file from a Disk Drive in a rational robot script?

Hi,

I am new to the Rational Robot. I am creating a script where i need the end user to upload a document from a disk drive. If I write a script for Uploading a particular document, then it will upload the same document each time I run the script.
I need a solution for how to ask an End user to select a file he/she want while the script runs.

Your help would be appreciated.

Thanks

Sugandha
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-29-2008
Junior Member
 
Join Date: Aug 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
shashissk is on a distinguished road
Re: How to select a file from a Disk Drive in a rational robot script?

Just use the below code:

Dim strFileNameWithPath as String
strFileNameWithPath = InputBox("Please Enter the File Name with Path","Title goes here")

and the variable "strFileNameWithPath" will have the file name with path value which can be used to access the file
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 Robot or Rational Test Manager crashes while running test Geek_Guest Rational Robot 7 12-27-2008 12:58 AM
Import Excel-File to Rational Robot Cooolboy Rational Robot 0 02-16-2008 01:38 AM
trouble running rational robot script via .bat/command line Mandata Rational Robot 1 02-15-2008 07:38 AM
How we can free physical disk space on the drive Geek_Guest Oracle 1 06-29-2007 08:34 AM
The system cannot move the file to a different disk drive chitravallivenkat Data Warehousing 0 05-23-2007 01:25 AM


All times are GMT -4. The time now is 02:29 AM.


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