Contributions
- 1.8KViews0likes3Comments
- 1.8KViews0likes5Comments
Re: Connected Application C# Keys method
Thank for reply, but your answer is useless. I am using visual studio 2013. TestLeft has some bugs yet. I am wainting the develeopers fixes. Suport send me this mesage about TestLeft: "The developers have registered a bug for copying the identification, it should be fixed in one of the following releases" So, why cant i use Keys method on a edit by connected application? Sys["Process"]("notepad")["Window"]("Notepad")["Window"]("Edit")["Keys"]("123");1.8KViews0likes7CommentsConnected Application C# Keys method
Hello, I created a windows form application (connected application) and im trying to execute the code below: Sys["Process"]("notepad")["Window"]("Notepad")["SetFocus"](); Sys["Process"]("notepad")["Window"]("Notepad")["Window"]("Edit")["Click"](459, 242); Sys["Process"]("notepad")["Window"]("Notepad")["Window"]("Edit")["Keys"]("123"); The first and second line run, but i got an exception when trying to send the Keys method. The exception that is thrown by methods invoked through reflection. How can i use Keys method on connnected application? If i execute the code on testcomplete, it runs all lines.2KViews0likes10CommentsRunRoutine multiple scripts with one log
Hello, I am trying to execute multiple scripts via COM ( javascript ). My problem is: for each RunRoutine that i execute, i got 1 log for testComplete. Javascript Code: var projectSuite = "C:\\Testes\\Controle de Transportadoras\\ControleTransportadora.pjs"; var project = "ControleTransportadora"; var unitName = "Multas"; var progID = "TestComplete.TestCompleteX64Application"; try { var te = GetObject("", progID); } catch(e) { te = new ActiveXObject(progID); } var integration = te.Integration; integration.RunRoutine(project,unitName, "clickButton9"); while (integration.IsRunning()) WScript.sleep(100); integration.RunRoutine(project, unitName, "clickButton5"); while (integration.IsRunning()) WScript.sleep(100); TestComplete Code: function clickButton9(){ Sys.Process("calc").Window("CalcFrame", "Calculadora", 1).Window("CalcFrame", "", 1).Window("#32770", "", 2).Window("Button", "9", 14).Click(); } function clickButton5(){ Sys.Process("calc").Window("CalcFrame", "Calculadora", 1).Window("CalcFrame", "", 1).Window("#32770", "", 2).Window("Button", "5", 10).Click(); } Is there a way to get ONE log for all Routines? Running all routines together the execution time will be more faster.Solved1.6KViews0likes4CommentsVCLObject - TcxButton
Hey, How can i do the same code in testLeft? TestComplete code: Sys.Process("exe").VCLObject("fEDINOTFISImportacao").VCLObject("gbParametros").VCLObject("btnAbrirArquivo").DropDownMenu.zItems.Items(0).Click(); btnAbrirArquivo -> TcxButton.5 years agoPlace TestLeft QuestionsTestLeft Questions1.3KViews0likes1Comment