Page 1 of 1

How to Specify File to Open After Launching Application

Posted: Thu Mar 14, 2013 5:37 pm
by psturman
Greetings Everyone,

I am currently working on evaluating Ranorex and so far it seems really easy to use and I like it a lot.

I have what I hope is a fairly simple question.

When recording a script, the first thing I want to do after launching my application is to open a file. I do not want to record mouse scrolling in the dialog as that could change depending on how many files are in the directory. I would like to just specific a directory and file and have it open. I don't as of yet see how to do that, although I'm sure you can. I would greatly appreciate a nod in the right direction. I have looked through the help and don't see anything as of yet.

Re: How to Specify File to Open After Launching Application

Posted: Fri Mar 15, 2013 1:21 pm
by Support Team
Hello,

Is it a standard file dialog which your application is using in order to select a file?
If yes, you can insert the whole path into the text field of the "File Name" using the "SetValue" action.
DirPath.png
Please let me know if this helps.

Regards,
Bernhard

Re: How to Specify File to Open After Launching Application

Posted: Fri Mar 15, 2013 3:52 pm
by psturman
Thanks so much Bernhard.

That is exactly what I needed to know.

Loving this tool so far.