Results 1 to 2 of 2

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

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Answers
    1

    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


  2. #2
    Junior Member
    Join Date
    Aug 2008
    Answers
    5

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact