// creates a parent test
        public static ExtentTest CreateFeature(string featurename, string description = null)
        {
            lock (_synclock)
            {
                FeatureName = featurename;

                if (!_featureMap.ContainsKey(featurename + ScenarioName))
                {
                    _feature = ExtentService.initReport().CreateTest(new GherkinKeyword("Feature"), featurename, description);
                    _featureMap.Add(featurename + ScenarioName, _feature);
                    return(_feature);
                }
                else
                {
                    _feature = _featureMap[featurename + ScenarioName];
                    return(_feature);
                }
            }
        }
 public static void DisposeExtentService()
 {
     ExtentService.Flush();
 }