-
Junior Member
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
-
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules