Skip to main content

Posts

Featured

Log4Net impole,entation in Visual Studio

1.        Right click on Solution and select ‘Manage NuGet Packages for Solution…’. 2.        Click on Browse, search ‘log4net’ and install Log4net. 3.        Add [ assembly : log4net.Config. XmlConfigurator (Watch = true )] after [ assembly : AssemblyCulture ( "" )] line in ‘AssemblyInfo.cs’ under Properties. 4.        Add   private static readonly ILog _log = LogManager .GetLogger( MethodBase .GetCurrentMethod().DeclaringType); to the class where you want to add logging. 5.        Add below line to App.config under “Configuration” tag. < configSections >     < section name = " log4net " type = " log4net.Config.Log4NetConfigurationSectionHandler, log4net " />   </ configSections >   < log4net >     < root >     ...

Latest Posts

CodedUI Run Application with Admin User

CodedUI Run Application with Admin User

Exception in thread "main" java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.dnsResolver

Handle windows with Selenium:

Handling Frames in Selenium:

Handling keyboard events and mouse actions:

Handling DropDown using Selenium Webdriver