Forum Discussion
- YMinaevStaffHi,
You should be able to launch TC tests from TeamCity via the command line. Also, if TeamCity allows this, you can work with TC via COM. - mmkumaramOccasional ContributorHi,
just for your info ...
I am using Teamcity for running my testcomplete test. Find the attached doc , an article on how to use Teamcity with TestComplete.
Thanks,
Muthu - mwaNew ContributorThank you very much!
- falyaNew ContributorHow you create artifacts in Team City and how you create custom report tab?
- mark_k92Occasional ContributorReply To: Muthu Kumaran
I was having a go at using the MSBUILD type to run my GUI Automation tests in testcomplete 8. However I was having trouble with the desktop interaction, as the project would open but testcomplete would not recognise this, and continue to wait for a long time until it finally gives up. The project works when I run it via a script in a user account, but not as the system account.
Do you have any ideas/solutions/experience with this type of issue?
Any help would be greatly appreciated.
(Please find attached my MSBUILD file, just change the extension from .zip to .msbuild)
Cheers,
Mark. - YMinaevStaffHi,
The System account has no access to the GUI, it is non-interactive. To run GUI tests, you should start TC under an interactive account. - AlexKarasChampion Level 3To Nikolay:
If you can read Russian, have a look at this site: http://software-testing.ru/forum/topic/20077/
Otherwise, just this page: http://confluence.jetbrains.net/display/TCD5/Including+Third-Party+Reports+in+the+Build+Results
Hope it will help... - mark_k92Occasional Contributorunfortunately i can't speak Russian.
Here's My scenario: I am trying to integrate my GUI testing process with team-city using ms-build as I am told this will give me results in the overview tab for team-city, Is this correct?. When I run my ms-build.proj, testcomplete opens my project.pjs starts running. The first event should be to open the application. However the application opens in the "system" account, which does not have desktop interaction, so team-city waits for the object and never finds it.
I tried using the run mode run as and entering a different users details. However now it doesn't even run when I start the project manually. I get the message: " Unable to run *xxx* under the *xxx* account. Make sure the password and other parameters are valid and you have sufficient privileges to run processes under another suer account."
I have enable user account control, but this did not change anything.
The only thing I don't know how to do is run test-complete in admin mode via ms-build, does anyone know how to do this?
Any help Greatly appreciated.
Cheers,
Mark. - mmkumaramOccasional ContributorMark,
On the test machine, try running the TeamCity agents from command line(as administrator). Running teamcity agents from command line will always run in interactive mode and will run all child application with same privileges as you launched command line application.
Thanks,
Muthu - mark_k92Occasional ContributorWhat do you mean by running the teamcity agents from command line?
do you mean try running the "teamcity build agent" service under a different user account?
or do you mean use the build step > runner type "command Line"? - If this option, would you use cmd command: "runas"? Because that prompts for a password, and as far as I know there is no work-around this?
Related Content
- 5 years ago
- 8 years ago
- 9 years ago
- 14 years ago
Recent Discussions
- 4 days ago
- 4 days ago
- 7 days ago