Forum Discussion
6 Replies
Sort By
- Hello Paul,
You can get a list of projects in a project suite in the following way://...
string item;
ItcProjectSuiteTests_COMAccess SuiteItems = (ItcProjectSuiteTests_COMAccess)IntegrationManager.get_TestSuite("");
for (int i = 0; i < SuiteItems.Count; i++)
{
item = SuiteItems.get_TestItem(i).ProjectName;
// ...
}
//...
Please see the Integration Object and Integration.TestSuite help topics for more information.
- PDinkelNew ContributorHello i am using TestComplete 4.
Is it possible that the ItcProjectSuiteTests_COMAccess object, is only at TC 7 available?
Greets Paul
Hello Paul,
You are right, the ProjectTests_COMAccess object is available in TestComplete 5-7. Unfortunately, TestComplete 4's COM model does not provide the object and some essential interfaces to implement code to accomplish your task. So, I suggest that you upgrade the tool to the latest version.- PDinkelNew ContributorI would instantly upgrade, but this is not my decision ;). But i solved this problem with xpath ;)
Greets - zildariusOccasional ContributorHello!
Can I get access from Delphi application to TestComplete TestSuite?
My code:
uses TCConnect;
...
procedure some;
var
i : integer;
begin
TC.Visible := true;
TC.Integration.OpenProjectSuite(Edit1.Text);
i := TC.Integration.TestSuite('').count;
end;
But I have error EOleSysError with message "Member of group not found".
Related Content
- 12 years agoebodien
- 14 years agoANW
- 9 years agolokithorshield