Launching the Desktop Application
Hi All Am Trying to launch the application by using the below code : def test(): WinFolder = Sys.OSInfo.WindowsDirectory DbgServices.LaunchTestedApplication(WinFolder +"C:\Users\User1\Desktop\Teachers.lnk") app = Sys.Process("Teachers").Exists # Checks whether Notepad has started successfully if app: Log.Message("Teachers app has been started successfully.") else: Log.Message("Teachersapp hasn't been started.") But it is unable to launch the Application and am facing the error Message : Did I went wrong some where in the code , Even if I changed the code a little like this def test(): DbgServices.LaunchTestedApplication("C:\Users\User1\Desktop\Teachers.lnk") app = Sys.Process("Teachers").Exists # Checks whether Notepad has started successfully if app: Log.Message("Teachers app has been started successfully.") else: Log.Message("Teachersapp hasn't been started.") Still theSame error as showed in the image above Please guide meSolved2.4KViews0likes5CommentsSelecting the MainMenu Options
Hi all, Am trying to Navigate through the main Menu options as below In the Above Picture Until I click on Home button the remaining options will not be enabled .I need to Select File and Navigate through the DropDown Sub-Menu so I have written the below code def menuselection(): mainmenu = Sys.Process("Teachers.debug").VCLObject("frmMain").VCLObject("barRibbon") mainmenu.Select("Home") mainmenu.Select("File|Functions|XYZ|ABC Navigator") But O/P Shows "Unable to find the object Select("Home"). See Additional Information for details."Solved3KViews0likes11CommentsCan we use shell.SendKeys with Testcomplete + Python
How can I select using Keys like Esc ,Tab ,Enter & all thearrowkeys in test-complete any example pleasefor a desktop Application. I know that we can do in python outside Test-Complete but I want a example or suggestion how use in the test-complete scripts with python.Solved3.2KViews0likes6Comments