Has anyone been able to configure Team City to run eggPlant tests

We use eggPlant for our UI test automation  www.testplant.com. We have been trying to integrate the eggPlant test suites so they can be run by team city. We have not been successful and so we are trying to find out from the Team City community if there are any configuration settings we need to use to get the Team City Agent to work with eggPlant.  Things to note:
- We have a runscript.bat that invokes Eggplant.
-The Team City agent is running as a windows service.  In the windows service setup, we configured the Team City agent to run as the same user that we use when running from the command line.
- We also configured  it to allow the windows service to interact with desktop.
- Eggplant version: 10.3
- Windows version: XP Professional Version 2002 SP 3

We know the following:
1. EggPlant runs just fine via the command line.
2. EggPlant can be run from a .bat file.
3. EggPlant can be run from a .bat file from Quality Center.

Here is what we get when we try to run it from Team City:

[18:47:48]: [echo] C:/Program Files/Eggplant/runscript.bat
"C:\SOTests\PPSS\SO\AccountFinderSearch.suite\scripts\AccountFinderMaster.script" -host QA-Alpha -port 5900 -password ******************
-CommandLineOutput YES
[18:47:48]: [default] exec (15s)
[18:47:49]: [exec] Could not find process: gdnc.exe
[18:47:49]: [exec] Could not find process: gpbs.exe
[18:47:51]: [exec] 2011-01-27 18:47:51.457 Eggplant[3124] Warning: NSFullUserName not implemented
[18:47:51]: [exec] 2011-01-27 18:47:51.489 Eggplant[3124] Approved License: Name = com.PROSRevenueManagementLP.L1, Remark = , Serial =

13141, Users = 1
[18:47:51]: [exec] Eggplant (10.23-1971) running in CLI mode on Host:0.
[18:47:51]: [exec] 2011-01-27 18:47:51.723 Eggplant[3124] File NSBundle.m: 1307. In -[NSBundle initWithPath:] NSBundle -initWithPath:

requires absolute path names, given '/Library/Frameworks/PangoIntel.bundle'
[18:48:04]: [exec] exec returned: -1073741819
[18:48:04]: Process exited with code 1
[18:48:04]: Ant output:
[18:48:04]: Buildfile: C:\build\TeamCityAgent1\work\29409ec1dccc2626\build3889776423121602762.tmp
[18:48:04]: default:
[18:48:04]: [echo] C:/Program Files/Eggplant/runscript.bat

"C:\SOTests\PPSS\SO\AccountFinderSearch.suite\scripts\AccountFinderMaster.script" -host QA-Alpha -port 5900 -password **********

-CommandLineOutput YES
[18:48:04]: [exec] Could not find process: gdnc.exe
[18:48:04]: [exec] Could not find process: gpbs.exe
[18:48:04]: [exec] 2011-01-27 18:47:51.457 Eggplant[3124] Warning: NSFullUserName not implemented
[18:48:04]: [exec] 2011-01-27 18:47:51.489 Eggplant[3124] Approved License: Name = com.PROSRevenueManagementLP.L1, Remark = , Serial =

13141, Users = 1
[18:48:04]: [exec] Eggplant (10.23-1971) running in CLI mode on Host:0.
[18:48:04]: [exec] 2011-01-27 18:47:51.723 Eggplant[3124] File NSBundle.m: 1307. In -[NSBundle initWithPath:] NSBundle -initWithPath:

requires absolute path names, given '/Library/Frameworks/PangoIntel.bundle'
[18:48:04]: BUILD FAILED
[18:48:04]: C:\build\TeamCityAgent1\work\29409ec1dccc2626\build3889776423121602762.tmp:5: exec returned: -1073741819
[18:48:04]: Total time: 16 seconds
[18:48:04]: Publishing artifacts
[18:48:04]: [Publishing artifacts] Paths to publish: [P:/dsunkam/EggPlant/AccountFinderSearch.html, teamcity-info.xml]
[18:48:04]: [Publishing artifacts] Artifacts path P:/dsunkam/EggPlant/AccountFinderSearch.html not found
[18:48:04]: [Publishing artifacts] Sending files
[18:48:04]: Build finished


The problem appears to be related to the fact that Team City is running as a Windows Service.  Any assistance would be appreciated. This is a critical issue for us, since we have scheduled tasks that need to be run daily from Team City including daily builds, Unit Tests, Integration tests, UI smoke tests and UI regression Tests. The UI tests will be handled by eggPlant.

Thanks,
Allan



Attachment(s):
TeamCityLog.txt.zip
1 comment
Comment actions Permalink

Hi

Try to start TeamCity agent not by a service, but interactivelly within user session by \buildAgent\bin\agent.bat start
Does that help?

Michael

0

Please sign in to leave a comment.