18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Sahi with Teamcity

DineshDinesh Members
edited December 2012 in Sahi - Open Source
Hi Forum,

I have been working on sahi from past 3 months and recently after automating some of the tests, we thought of integrating the tests with our teamcity.

I have written the ant script which does the following tasks:

1. Clean up the tests to checkout the latest tests.
2. Stop sahi if started.
3. Start Sahi.
4. Run the tests on the required browser (you can pass browser type as parameter.)

I have setup the teamcity build config and tried running the tests. Here I had many problems.

1. Tests are not running on IE. It simply says "Script did not start within 150 seconds."
2. Tests are running fine on Firefox browser. But when I run for the second time, I could not clean up the tests to checkout the new tests. Some how the folder which has tests, being locked down by Sahi process. I didn't see this locking behavior on my local machine.

Did anyone face similar issues? Please let me know if I have to share any other information for you?

Thanks in advance,
Dinesh

Answers

  • I could resolve the second problem in the above discussion. It was my fault in starting the sahi using java task from the same folder where I have the tests. When I changed the java task to start from a different folder, the problem disappears.

    But I am still fighting with problem #1. Any help will be highly appreciated.

    Thanks in advance,
    Dinesh
Sign In or Register to comment.