Forum Discussion

praveenkumar_ga's avatar
11 years ago

TestComplete issue with TFS Build automation

Hi,



I am working with Test Complete 10 trial version. I have created a project for testing VB6 application. 



We have a requirement to implement Test automation of VB6 application with TFS build Automation service.



So I have created a batch file and invoking the batch file at the end of Build completion in TFS build template workflow.



The batch file is invoked successfully but reporting the following error.

----------------------------------------------------------------------------------------------

 The object does not exist. See Additional Information for details.


An error occurred while accessing the "ClickButton" method or property of the "cmdLogin" object.

The object or one of its parent objects was not found.



Object Whose Method or Property Was Accessed














Alias:

Aliases.project1.frmLogin.cmdLogin

Name mapping item:

NameMapping.Sys.project1.frmLogin.cmdLogin


Object That Was Not Found














Alias:

Aliases.project1.frmLogin

Name mapping item:

NameMapping.Sys.project1.frmLogin


Click the link above to view and configure mapping settings for the missing object.

----------------------------------------------------------------------------------------------



I am getting the above error only when I invoke the TestComplete project from TFS but running successfully from TestComplete IDE or invoking the .bat file manually.



The .bat file contents are:

--------------------------------------------------------------------------------------------------------------------



start /wait "TestComplete" "C:\Program Files\SmartBear\TestComplete 10\Bin\TestComplete.exe" 


 


"C:\TestComplete\VB6TestProjectSuite\VB6TestProjectSuite.pjs" /run /p:VBTestProject 


 


/ExportLog:C:\TestComplete\Reports\VBTestProject\VBTestProjectLogReport_%date:~-7,2%%date:~-10,2%%date:~-4,4%


 


_%time:~-11,2%%time:~-8,2%%time:~-5,2%%time:~-2,2%.mht /exit /SilentMode



--------------------------------------------------------------------------------------------------------------------



Please let me know what could be the problem and how to resolve this issue. Also if any other info is required.



Thanks

Praveen