/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="testSuiteName">The test suite name which is used to get test site.</param>
        public PtfOptionParser(string testSuiteName)
        {
            if (string.IsNullOrEmpty(testSuiteName))
            {
                throw new InvalidOperationException("The test suite name cannot be null or empty.");
            }
            if (string.IsNullOrEmpty(testSuiteName.Trim()))
            {
                throw new InvalidOperationException("The test suite name cannot be null or empty.");
            }
            site = TestSiteProvider.GetTestSite(testSuiteName.Trim());

            if (site == null)
            {
                throw new InvalidOperationException(
                          "The test site specified dose not exist, please check whether the name is correct.");
            }
        }
 /// <summary>
 /// GetTestSite
 /// </summary>
 /// <param name="testSuiteName">TestSuite Name</param>
 /// <returns>Test Site</returns>
 public static ITestSite GetTestSite(string testSuiteName)
 {
     return(TestSiteProvider.GetTestSite(testSuiteName));
 }