/// <summary>
        /// Prints the performance summary of average duration in millisecond in AppVeyor.
        /// </summary>
        /// <param name="measures">The instance of PerformanceHelper class.</param>
        public static void PrintAverageDurationMillisecondsInAppVeyor(PerformanceHelper measures)
        {
            var groupedDurationsAppVeyor = measures.AllGroupedDurationsMilliseconds.Select(v =>
                                                                                           v.StepName + "." + v.Browser +
                                                                                           ".Average -Framework NUnit -Filename PerformanceResults -Outcome Passed -Duration " + v.AverageDuration)
                                           .ToList()
                                           .OrderBy(listElement => listElement);

            PrintResultsInAppVeyor(groupedDurationsAppVeyor);
        }
        /// <summary>
        /// Prints the performance summary of average duration in millisecond in TeamCity.
        /// </summary>
        /// <param name="measures">The instance of PerformanceHelper class.</param>
        public static void PrintAverageDurationMillisecondsInTeamcity(PerformanceHelper measures)
        {
            var groupedAverageDurations = measures.AllGroupedDurationsMilliseconds.Select(v =>
                                                                                          "\n##teamcity[testStarted name='" + v.StepName + "." + v.Browser + ".Average']" +
                                                                                          "\n##teamcity[testFinished name='" + v.StepName + "." + v.Browser + ".Average' duration='" + v.AverageDuration + "']" +
                                                                                          "\n" + v.StepName + " " + v.Browser + " Average: " + v.AverageDuration + "\n").ToList().OrderBy(listElement => listElement);

            for (int i = 0; i < groupedAverageDurations.Count(); i++)
            {
                Logger.Info(groupedAverageDurations.ElementAt(i));
            }
        }
        /// <summary>
        /// Prints the performance summary of percentiles 90 duration in millisecond in Teamcity.
        /// </summary>
        /// <param name="measures">The instance of PerformanceHelper class.</param>
        public static void PrintPercentiles90DurationMillisecondsinTeamcity(PerformanceHelper measures)
        {
            var groupedPercentiles90Durations = measures.AllGroupedDurationsMilliseconds.Select(v =>
                                                                                                "##teamcity[testStarted name='" + v.StepName + "." + v.Browser + ".Percentile90Line']\n" +
                                                                                                "##teamcity[testFinished name='" + v.StepName + "." + v.Browser + ".Percentile90Line' duration='" + v.Percentile90 + "']\n" +
                                                                                                v.StepName + " " + v.Browser + " Percentile90Line: " + v.Percentile90).ToList().OrderBy(listElement => listElement);

            for (int i = 0; i < groupedPercentiles90Durations.Count(); i++)
            {
                Logger.Info(groupedPercentiles90Durations.ElementAt(i));
            }
        }