ContributionsMost RecentMost LikesSolutionsUnable to add methods as 'Test Items' when methods actually are actually written inside the class This is important to my project All my methods are written inside class This actually creates a problem as I am not able to call methods on project 'Test Items' page SolvedGo to Declaration and Find usages options not working Hi, I am currently facing two problems inside script editor in TestComplete 14.10, Problem 1: Go To Declaration shown disabled in script routine's context-menu when the routines was actually written inside the class For ex: In unit1.py class test: def method1(): Log.Message("Hello World") In unit2.py from unit1 import test def sampletest(): test.method1()- right click on 'method1()' and see the option 'Go to Declaration' shown disabled, aslo Ctrl clicks not working Problem 2: Find usages not working for methods inside class consider the same above example, right click on 'method1()' inside class 'test' in unit1.py Click on 'Find Usages' - nothing returns, but that method actually used in unit2.py SolvedRe: How testcomplete works with scripts not being written inside the class? but my question is not about printing it's about how test complete works when there is no class but only routines inside .py script file? How testcomplete works with scripts not being written inside the class? My question is if I have written my scripts using python. Let consider the below example # example1.py def test(): print "hello world" # example2.py class sampletest: def test(): print "hello world" In the above examples, one being wriiten without class and other within class. I was surprised how testcomplete works with first example . SolvedRe: check object on screen I fixed using FindEx() method and it was working as expected Re: check object on screen I fixed the problem using FindEx() method and its working expected Re: Solution for changing full name of an object I am not interested in it, as it was not very helpful for my project check object on screen Is there any way to check the object displayed on screen? When asserting using the property of the object inside aqObject.Checkproperty(), it returns true even before the object visible on screen. I need a method such it works only if the object displayed on the screen SolvedSolution for changing full name of an object Sys.Process("YYY").WPFObject("HwndSource: ControlRoot").WPFObject("ControlRoot").WPFObject("DockPanel", "", 1).WPFObject("mainGrid").WPFObject("MenuControlHost").WPFObject("Control_ROOT").WPFObject("Grid", "", 1).WPFObject("Grid", "", 1).WPFObject("ContentControl", "", 1).WPFObject("WeldPortInspectionControl", "", 1).WPFObject("Border", "", 1).WPFObject("Grid", "", 1).WPFObject("TabControlWithCornerElement", "", 1).Click(1635,38) In the above full the number in the part (WPFObject("TabControlWithCornerElement", "", 1)) keeps changing at runtime or playback. how to handle this? SolvedRe: how to write short name for the object without using 'name mapping' in test complete? expecting something like 'relative xpath' as we use in selenium automation.