Tag Info

Hot answers tagged


I run my Coded UI tests from the commandline with /Logger:trx this generates a .trx file vstest.console.exe "MyApp\Debug\MyApp.CodedUI.Test.dll" /tests:TestCase1,TestCase2 /Logger:trx You find the vstest.console.exe in your VS directory: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\


Click on Upload File Copy your Path in Clipboard (as Shown in the code) Press Ctrl+Vand hit Enter using robot class StringSelection selection = new StringSelection(file); Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard(); clipboard.setContents(selection, selection); robot.keyPress(KeyEvent.VK_CONTROL); robot.keyPress(KeyEvent.VK_V); ...

Only top voted, non community-wiki answers of a minimum length are eligible