Contributions
Trigger TestItems from script
Hello, I have some special constraints / conditions under which TestItems are allowed to run. Hence I am looking for a command to trigger the run of a TestItem from script. I found that there is a reference to the TestItems through the command: Project.TestItems.TestItem(i); but there seems not to be any method to run that TestItem. Is that true? Any possible solution for that issue? Thanks a lot for your support. Uli13KViews0likes1CommentRe: Accessing all Projects contained in current Projet Suite by Script
Hi Syed and thanks for your reply, but I think it won't help me solving my current problem... What I need to do is to acces TestItems and LogItems inside project A from a script stored in project B. Is there any way to do that? What I have not tried yet is to use the Testcomplete COM object - pobably this would work. But I am still looking for an easier more straight forward way to do this... Thanks so far, Uli2KViews0likes0CommentsAccessing all Projects contained in current Projet Suite by Script
Hi all, I have written some utility scripts, that for example can parse the testcomplete LogItems of a project and export them to Excel. At the moment, I have a copy of those utility scripts in each project in the ProjectSuite. What I would like to do is to aggregate those scripts in one new project called "utillity". The problem coming with that is, that it seems that there is no way to acces other projects inside the ProjectSuite from one specific project. Is there any "ProjectSuite.getProjectByName()" Method included in TestComplete yet that would help to solve the issue? I could not find anything simillar yet! Thanks and regards, Uli12KViews0likes4CommentsMapping based on child objects
Hi everybody, I have some trouble when testing a program. The UI has been developed in WPF while in consists of diffrent windows that are all represented by the same class. All windows are childs to my prgrams main process. When trying to record and replay tests in testcomplete 7.5, testcomplete sometimes does not find sub elements of my windows since it gets confused and mixes up the windows since they appear under the same name in the process tree. The changelog of testcomplete 7.5 states: Map objects by child objects. You can now use the presence of certain child objects as the recognition attributes of parent objects. I guess this would be the solution to fix my problem. But I don't know how to map an object by child objects. When selecting the properties that shall be used to recognize the objects inside tc, I have no ability to select any child objects. Can anybody help me? Thanks a lot! regards, uli17KViews0likes1Comment