Changing setting in VS to extend Coded UI test timeout.
-
Monday, April 30, 2012 12:07 PMI have two machines set up to run Coded UI tests on. The first one, I was able to successfully change the timeout on tests, so they will run for up to four hours before timing out. The second machine, I am unable to get tests to run for more than 30 minutes before they timeout. I've tried to copy the local test settings file from the first machine to the second. I've tried to create the setting file from within VS, but none of these have seem to work. Even if I could just change the setting to never time out, I'd be happy.
Can someone help me with how I might be able to get this local settings file set up be used when my Coded UI tests run?
Thanks,
Kal
- Edited by kal200 Monday, April 30, 2012 12:07 PM Changed text
All Replies
-
Tuesday, May 01, 2012 7:53 AMModerator
Hi Kal,
The test settings file could not be use directly by copying from another place. You should add it into the solution which you want and active that test settings file for your solution through: Test à Select Active Test Settings.
Hope this could help you.Tony Xiao [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Tony xiaoModerator Friday, May 04, 2012 8:31 AM
-
Tuesday, May 01, 2012 1:56 PM
kal200,
It seems that you understand how to increase the timeout within visual studio.
That said, the issue is likely related to whether you are enabling which .testsettings to use within Visual Studio or on the CLI through MSTest.
If through Visual Studio, you will need to select the test setting as your active test settings through Test -> Select Active Test Settings as Tony has mentioned.
If through MSTest, you will need to specify the testsetting to use using the /testsettings:[file] flag.
Cheers,
Paul
- Marked As Answer by Tony xiaoModerator Friday, May 04, 2012 8:31 AM

