I came across Ms phrase encoder to complete documenting your display. You should use their dlls to include into your DONUMBER dependent framework to perform and report the program. In anyone framework you are able to create a technique which begins documenting since starting and afterwards during cleaning job, you could have several login to find out if you like to truly save documenting or not. http://seleniumidetraining.com/selenium-training-online-tutorials/

For instance, we my framework, we begin documenting centered on my settings document as well as in teardown techniques, we examine when there is a mistake or not. if indeed next we scribe into wmv structure otherwise we toss documenting. http://onlineseleniumtrainings.com/features-of-selenium-ide/Action ONE:

In the event that you attempt to discover several files inside this file you’ll discover SDK file @: DO:Program Documents (x86)Ms ExpressionEncoder 4SDK, where you are able to observe Microsoft.Expression.Encoder.dlls that you may use inside your framework signal. http://seleniumvideotutorials.com/selenium-tutorials-online/

Action two:
Contain dlls provided in SDK files into your framework. You are able to create a technique and phone that. I’ve a vital price set in my own framework config document and that I may choose easily wish to accomplish documenting or not. Inside your test’s [create] technique, you are able to phone this method that’ll begin documenting at the start of the check.

using System;

.

.

using OpenQA.Selenium;

.

.

using Microsoft.Expression.Encoder.ScreenCapture;

using System.Drawing;

using Microsoft.Expression.Encoder.Profiles;

using Microsoft.Expression.Encoder;

namespace FRAMEWORK

{

//Call this method in setup method.
public static void StartRecordingVideo()

{

//Provide setting in config file if you want to do recording or not.
if (testEInfo.isRecording)

{

job = new ScreenCaptureJob();

job.CaptureRectangle = Screen.PrimaryScreen.Bounds;

job.ShowFlashingBoundary = true;

//provide the location where you want to save the recording.
job.OutputPath = AutomationLogging.newLocationInResultFolder;

job.Start();

}

}

}

Action Three:
Today your check began as well as in the back ground your display documenting happening. When you achieve towards the [teardown] technique. You are able to choose if you like to keep consitently the saving or not. In my own situation I do want to maintain documenting only when there’s check failing therefore my builders may evaluation otherwise there’s zero point-of getting documenting if assessments are moving. To do this I’ve subsequent technique in over signal that we call-in signal in the really finish. http://seleniumidetutorials.com/ide-scheduler-of-selenium-part-4/