Tag Info

Hot answers tagged


I believe you are getting this error because : You are immediately (before the page load could finish) searching for an element and finding it. there are 3 options in a dropdown and on selecting each option, rows in a table gets populated. When dealing with asynchronous pages use proper waits after every anticipated page-load. Insert an explicit ...


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