Archive by tag: C#Return

What are Frames? How to handle frames in Selenium WebDriver with C#?

IFrame (FullForm: Inline Frame) is an HTML document that is included in another HTML document and is used to place the contents from another source. Eg: Advertisements, Youtube Videos etc…Almost all site includes IFramenow a day, where they would be displaying advertisements or playing videos of other sources.Now, let’s see how to identify and handling of IFrames in Selenium with C#.Net technology.There are two ways to identify the in your web application: When perfo...
Read More

What is Synchronization? Handling Synchronization in Selenium WebDriver using C#:

Synchronization meaning: when two or more components involved to perform any action, we expect these components to work together with the same pace. The co-ordination between these components to run paralelly is called Synchronization.Synchronization (Wait) in Selenium has a great significant value.Now a day, we see most of the web applications are developed by using Javacript and Ajax where it might happen that some of the elements may load at distant time intervals, due to which we may encount...
Read More

Sending Test reports by Email using Office 365, Gmail

Wouldn’t it be great if Test Report are sent automatically across team as soon the Test Execution is complete??Now, let’s see how to achieve this using Office 365.com, Outlook.com and Gmail.com account as the SMTP host.Include the below code in your OneTImeTearDown (NUnit) or AfterClass (TestNG) method: we attain this feature using library => System.Net.Mail; using System.Net.Mail;namespace MailConfiguration{            s...
Read More

Extent Reports in Selenium CSharp (C#)

Reports play a fundamental role when it comes to TESTING. Tester can now  know the real-time reports of test suit execution. Reports made ease to know the ratio of Pass? : Fail? post-test suit execution and it is the only documentation to know about test execution results.Everyone wish to see the detailed description of the test results. Don’t you? here is the solution for it. And, let us see how these reports can be achieved? in Selenium C# - NUnit framework automation testing.To ac...
Read More

How to Set Up Selenium WebDriver in Visual Studio Enterprise 2015?

Pre-requisite : Visual Studio Enterprise 2015 application should be installed into the system.Create the new project in Visual Studio : Select New option from File menu and click on Project. Refer Fig.1.Fig.1On New Project windows popup > Select Visual C# > Windows > Console Application > Enter Name and Location and click on OK button. Refer Fig.2.Fig.2Created Project will display in the Solution Explorer. Refer Fig.3.Fig.3Install Selenium WebDriver ...
Read More

Custom Control in WPF

File Upload Custom Control in WPFThis article is about Custom control in WPF, Custom controls are also the user controls, but there is some difference between them.UserControl (Composition) Composes multiple existing controls into a reusable "group" Consists of a XAML and a code behind file Cannot be styled/templated Derives from UserControlCustomControl (Extending an existing control) Extends an existing control with additional features Consists of a code file and a default style in&n...
Read More

ASP.NET: Audit Trail Implementation using Entity Framework

When you are working with certain projects which involves the Customer records, you might need to track of each and every addition/change made to system along with who create, modify and delete the records. Here I am going to show you how to implement the Audit Trail using Entity Framework in ASP.NET. Entity Framework keeps track of entity objects when we have modified them. Here I am going to use the ‘ObjectStateManager’ which is EF’s caching management object to access t...
Read More

Create Restful service using Web API

What is Asp.Net Web API?Asp.Net Web API is a framework for building HTTP services that can be consumed by a broad range of clients including browsers, mobiles, iphone and tablets. It is very similar to ASP.NET MVC since it contains the MVC features such as routing, controllers, action results, filter, model binders, IOC container or dependency injection. But it is not a part of the MVC Framework. It is a part of the core ASP.NET platform and can be used with MVC and other types of Web applicatio...
Read More

Dependency Injection on SignalR

                                                       Dependency Injection on SignalR​This article shows how to perform dependency injection on SignalR hubs.Dependency injection is a way to remove hard-coded dependencies be...
Read More

Create custom project templates in Visual Studio

Visual studio installation comes with the various predefined project templates, and we can use one of these templates (like console application, class library, ASP.NET web application, etc) to create a new project.We can create custom project templates and have they appear in create new project dialog under the project selection templates.Here I would show you the step by step procedure on how to build the custom solution template with multiple projects, configuring it in visual studio and have ...
Read More
Page 1 of 3 FirstPrevious [1]23 Last

  • Recent
  • Popular
  • Tag
Tags
Monthly Archive
Subscribe
Name

Contact Us
  • *
  • *