Pages

HOME

HOME

Saturday, 27 October 2012

How to add Timeout test settings in CodedUI

Today we will see how to add Timeout settings in CodedUI test project. It's simple just 5 steps procedure.

1. Right click on "Solution Items" folder. Select "Add" >> New Item.



2. Click on "Test Settings" templates.And click on Add button.



3. The Test settings template will be loaded. In this click on "Test Timeouts". 


4. In Test Timeouts settings we can set the timeouts for:
 a) Abort test if it exceeds the given time limit.
 b) Mark test as Failed if it exceeds the given time limit.

Enter the timeout values.



5. Click on Apply button and then Click on Close button.

The settings will be applied to the all test cases. In this way we can add Timeout settings in Test project.
# If you want to edit the timeout again then double click on "*---.testsettings" file available in "Solution Items" folder and follow the steps 3,4,5.



Enjoy Coding!!!








No comments:

Post a Comment