Skip to main content

Posts

Selenium IDE - Integrated Development Environment

Selenium IDE is an easy-use tool for any person and which is designed to work with Firefox. It is a Firefox plugin with with graphical user interface. This  GUI will allow user to record test actions and replay. But this can be used only with Firefox browser as other browsers. However the recorded test scripts can be converted in to any languages supported by selenium. Set Up Environment (use Firefox browser) Go to URL- http://seleniumhq.org/download/ and download latest selenium IDE version. It will add as a add-on. After that go to tool of the browser and check whether selenium has been added.

Selenium

What is Selenium ? Selenium an open source web testing toll which is widely used in information technology industry for test automation.It was originally developed by Jason Huggins as an internal testing tool for ThoughtsWorks.  Many Companies , let's say most are currently developing web based solutions to be run in an internet browser. Selenium support all common browsers for automation. Also it supports to write/run test cases without learning scripting languages as well as to all common languages such as Java, C#, PHP, Python, Ruby and Groovy scripts. Hence QA engineer able to use own test cases and run through selenium.  Selenium is not just single tool but is set of tool which are used in various scenarios.  Lets understand about them.

Programming with ASP.NET MVC4 - Part 02

Accessing model data from a controller  In this fragment I am going to explain how to retrieve data from database by controller and display using view template. If you are new to the MVC refer part1. Step 1:  Add controller to your MyMVCMovieList project. Choose and add following details to your controller when adding, Controller Name :- MovieController Template: - Controller with read/write actions and views, using Entity Framework. Model class: - Movie (MvcMovie.Models). Data context class: - MovieDBContext (MvcMovie.Models).

Programming with ASP.NET MVC4 - Part 01

Getting start…. The verbal meaning of MVC is M odel V iew C ontroller. Which is well tested architecture especially designed for web based solutions. Model : classes that represent application data and business rules View: template files application will able to use for dynamically generate html responses. Controller: classes which are manage browser request, retrieve data from model and define the view template for browser response.   Let’s start with simple application. Creating project First of all make sure you are going to use visual studio 11 or above version with c#. Step 1:  Click on FILE ->New ->Project. Step 2: Select Web under Visual c# ->ASP.NET MVC4 Web Application and name project as      “MyMVCMovieList” -> click OK button.

MVC Architecture

Model-View-Controller (MVC) is a design pattern recently most popular among software engineers for applications which are needed to provide multiple views with using same data. I am suggesting MVC is better than WCF, because of this module separation. For an examples       ·          Multiple views and controllers can interface with same model for modification even those never exist before add this model.       ·          It is supporting all type of HTML verbs.       ·          No view state and post back events.       ·          Easy integration with JavaScript framework.       ·          Helps to decrease complexity of project       ·          P...