Forum Discussion

pradeep_ediga's avatar
pradeep_ediga
Occasional Contributor
3 years ago

How to double click on a file with extensions from Folder

Hi All, As part of my functional automation testing process, there is a step to double click on the downloaded software from certain folder. I was able to write a java script code to access the fold...
  • rraghvani's avatar
    3 years ago

    See Running Tested Applications. Define your application in TestedApps editor, and then call the following code.

    function RunApp()
    {
        TestedApps.TeamExplorer.Run();
    }

    In this scenario, I have defined TeamExplorer application as "C:\Program Files (x86)\Microsoft Visual Studio\2019\TeamExplorer\Common7\IDE\devenv.exe" with a working folder of "C:\Program Files (x86)\Microsoft Visual Studio\2019\TeamExplorer\Common7\IDE\". Running the code, launching Microsoft Visual Studio Team Explorer 2019 from TC.