Page 1 of 1

file operations with C# or from GUI

Posted: Mon Mar 08, 2010 4:49 am
by Ruser
Hi, there,

I have a testing scenario needs to verify, open or delete some files from local or a network machine. actions are:
1) verify files with a specific name exist in a folder
2) open/edit files

Is there any way of testing this through C# code instead of from File explorer GUI?

Thanks,

Re: file operations with C# or from GUI

Posted: Mon Mar 08, 2010 11:37 am
by Support Team
Hi,

of course it's possible just look at
http://msdn.microsoft.com/en-us/library ... .path.aspx
for 1) verify files with a specific name exist in a folder
and for 2) open/edit files
http://msdn.microsoft.com/en-us/library ... tream.aspx

Regards,
Peter
Ranorex Support Team