file operations with C# or from GUI

Ask general questions here.
Ruser
Posts: 24
Joined: Wed Oct 07, 2009 3:26 pm

file operations with C# or from GUI

Post by Ruser » Mon Mar 08, 2010 4:49 am

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,

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: file operations with C# or from GUI

Post by Support Team » Mon Mar 08, 2010 11:37 am

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
.
Image