Prepare for your Next Interview
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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import Excel-File to Rational Robot | Cooolboy | Rational Robot | 0 | 02-16-2008 02:38 AM |
| trouble running rational robot script via .bat/command line | Mandata | Rational Robot | 1 | 02-15-2008 08:38 AM |
| How we can free physical disk space on the drive | Geek_Guest | Oracle | 1 | 06-29-2007 09:34 AM |
| Rational Robot or Rational Test Manager crashes while running test | Geek_Guest | Rational Robot | 5 | 06-04-2007 07:36 AM |
| The system cannot move the file to a different disk drive | chitravallivenkat | Data Warehousing | 0 | 05-23-2007 02:25 AM |