Microsoft Test Manager - Test Runner–Playback error with C:\fakepath

When executing a test case with Microsoft Test Runner with a step where you have to select a file in a web application, you get “C:\fakepath” for the location of the file you selected.

For example in step 4 you need to select an image from the local disk. When you replay this action you get the c:\Fakepath folder. For sure this ruins the fat forward for you test case.  

image

This Fakepath comes from Internet Explorer and is a security feature which hides the real path selected path. The workaround to get the action recording up and running is to add the site to the trusted sites in the security tab of IE options.

SNAGHTML50dcecd

Comments (2) -

How good this article is! I like it. I will share with my friends. I hope that many people also have hobby the same as me.

Add comment