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,
file operations with C# or from GUI
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: file operations with C# or from GUI
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
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