Geeks Talk

Prepare for your Next Interview




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 FAQ Members List 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


Similar Threads

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


All times are GMT -4. The time now is 08:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved