Microsoft Interview Question
Software Engineer in TestsTeam: Bing
Country: India
Interview Type: In-Person
In Addition:
(Valid String,Valid String with dest doesn't exist without write permission) return false;
(Valid String,Valid String with dest doesn't exist with write permission) return true;
(Valid String, Valid String with dest already exists with Override permission) return true;
(Valid String, Valid String with dest already exists without Override permission) return false;
In addition to all this, I came up with little more
network path to local computer and vice versa
verify all file attributes like filename, extension, size, etc.,
file shouldn't be corrupted
but he was expecting more...
Here a case like:
(Large file, Non-existing dest file), should return false,
as destination will not have the copy space for the large src file
Few more test cases could be:
(User doesn't have access right to the src, but only to the destination)
(Valid src access right, Valid Dest) - Returns True
(Valid src with no access right, Valid Dest) - Returns false
-
Here a case like:
(Large file, Non-existing dest file), should return false,
as destination will not have the copy space for the large src file
Few more test cases could be:
(User doesn't have access right to the src, but only to the destination)
(Valid src access right, Valid Dest) - Returns True
(Valid src with no access right, Valid Dest) - Returns false
(NULL, NULL) returns false
- Suriya November 09, 2012(NULL, Valid String) returns false
(Valid String, Valid String with dest already exists) returns false
(Valid String, Valid String with dest doesn't exist) returns true
(Valid string with src doen't exist. *) returns false
(Empty src file, Non-existing dest file ) returns true
(Large file, Non-existing dest file ) returns true
(Source File with different format, Non-existing dest file ) returns true