Contributions
contextMenuStrip click based on caption or index
In Vb script forcontextMenuStrip eg: Call contextMenuStrip2.Click(129, 15) I don't want to use the co-ordinate. Instead want to use caption/index or other ways. How it can be achieved?12 months agoPlace TestComplete QuestionsTestComplete Questions323Views0likes2CommentsBased on different resolution it is clicking on different item
consider eg: Treeviewittem UNIT_03 UNIT_04 UNIT_05 UNIT_06 UNIT_07 while calling code: Call pynb_MultiSelectTreeView.ClickItem("|UNIT_06") Call Delay(1182) Call pynb_MultiSelectTreeView.ClickItemR("|UNIT_06") Call Delay(2508) it sometime clicked on UNIT_06 , sometime it clicked item UNIT_03 , sometimes it clicked on unit_07 (It may be due to different resolution the application is tested) but it should be in-dependent on that. How it can be resolved? Independent of resolution or other etc12 months agoPlace TestComplete QuestionsTestComplete Questions354Views0likes2CommentsObject doesn't exist
While running the test script : It throw errorObject tabcontrol doesn't exist (but some-time it executes properly) (Object Mapping is proper and in picture tab show control is available.) code eg: Set tabControl = pynw_MainForm.Pynw_MainPanel.panelMain.dockPanel.DockWindow.DockPane.Pynw_Explorer.splitContainer1.SplitterPanel.tabControl Call tabControl.Click(62, 11) Call Delay(8375) Call tabControl.ClickTab("Plants") Call Delay(2000) Call tabControl.ClickTab("Groups") what could be possible reason of getting failure?260Views0likes2CommentsRe: testcomplete window application : how to customize the log message in test log
In test complete script test log window show as : The log msg on success execution of code: The window was clicked with the left mouse button. 14:22:48 Normal 3.42 The toolbar item 'toolStripBtnAck' was clicked with the left mouse button. 14:22:55 Normal 7.20 The window was clicked with the left mouse button. 14:23:07 Normal 11.77 On error it show as: The object "toolStrip" does not exist. 16:18:21 Higher 18.83 The log messages are auto generated, Which I want to replaced by custom message eg: Alarm button not found etc. Also attached the default log msg, which i want to replace with custom message while execution of script.441Views0likes0Commentstestcomplete window application : how to customize the log message in test log
How can I customize the log message in 'test log' based on success/warning/error or even bypass it. for eg code: Call pynw_MainPanel.panelHeader.btnMain.ClickButton Call Delay(4165) Call pynw_Centralog.contextMenuStripMain.Click(133, 19) Call Delay(6872)461Views0likes6Comments