Archive for June, 2008
QTP overview
What is QTP?
Quick test professional is a graphical user interface record-playback functional test automation tool. It supports functional testing of all enterprise applications developed using .NET,Java/J2EE,SAP, Siebel,Oracle, Peoplesoft,Visual basic etc.
It supports both windows and web applications.
QTP testing process consist of 6 main phases
- Create your test plan The test plan should include a detailed description of the test that consist exact steps to follow, data to be input, verification and validation of objects in the application.
- Recording a Session on your application When you are navigating through your application QTP displays each step you perform in the form of a collapsible form of icon-based tree. A step is an action that you perform in your application. It can be a clicking a link or image or entering data in a form.
- Enhancing your test you can enhance the test by putting checkpoints into your test which allow you to search for a specific value of a page,object or string which helps you to understand whether or not your application is functioning properly. You can add the check points during the recording of a test. you can also add conditional and logic statement to your test.
- Debugging your test You can debug the test to identify the operation of a test.
- Running your test Run the test to check the behavior of the application. While running QTP connects to your application and performs each step in your test.
- Analyze the Results Analyze the results to identify the defects in your application.
- Reporting Defects You can create defect reports in defecting reporting tool.
Features: QTP 8.0
- Operates stand-alone
- Identifies objects with unique object recognition.
- Enables thorough validation of applications through check points
- Reliable script execution from Build-to-Build.
In next post i will explain how to execute the test case using QTP.
Related Posts:
1 commentSQL server 2005 Features
Development Features
- CommonTableExpressions
Which returns a record set in a statement.
CTE can be thought of as a temporary result set which can be defined in the SELECT,INSERT,UPDATE and DELETE statements. CTE can be self-referencing and can be referenced multiple times in the same query.
The basic syntax structure for a CTE is:
WITH expression_name [ ( column_name [,...n] ) ]
AS ( CTE_query_definition )
- CLR support To build business objects
(stored procedures,triggers, functions, etc) which enables you to execute .NET code in the DBMS. - ServiceBroker handles the messaging between a sender and receiver in a loosely coupled manner.
- Data Encryption
Native supported functions to encrypt the data in user defined databases. - Microsoft incorporates SMTP mail to improve the native mail capabilities.
- Multiple Active Result Sets(MARS) Allow a persistance database connection to server more requests from a single client.
- SQL server Integration Services (SSIS) has replaced
DTS(Data Transformation Services) as the primary ETL tool and ship with the SQl server for free. - XML enhancements
- Try Catch Functionality
- Data Partioning
Management Features
- Backup enhancements
- Better Email handling
- Full 64-bit support
- Database Mirroring
- Dedicated administrator connection
- Database snapshots
Related Posts:
1 commentFactory method Designpattern using C#
The factory method pattern is a creational design pattern used in software development to encapsulate the process of creating the objects.
Concerns:
- Which object needs to be created.
- Managing the life time of the object.
- Managing the build-up and tear down concerns of the object.
Definition:
“Define an interface for creating an object, but let subclasses decide which class to instantiate”
C# Implementation of Factory method
abstract class Factory
{
public abstract Product GetProduct(); //Factory Method Declaration
}
——————————————————————————————-
class concreteFactoryforProcuct1 : Factory
{
public override Product GetProduct() //Factory Method Implementation
{
return new Product1();
}
}
——————————————————————————————–
class concreteFactoryforProcuct2 : Factory
{
public override Product GetProduct() //Factory Method Implementation
{
return new Product2();
}
}
——————————————————————————————–
interface Product
{
void GetDetails();
}
class Product1 : Product
{
public void GetDetails()
{
Console.WriteLine("Product1 Details are Called");
}
}
class Product2 : Product
{
public void GetDetails()
{
Console.WriteLine("Product2 Details are called");
}
}
——————————————————————————————–
protected void Page_Load(object sender, EventArgs e)
{
Factory[] objFactories = new Factory[2];
objFactories[0] = new concreteFactoryforProcuct1();
objFactories[1] = new concreteFactoryforProcuct2();
foreach (Factory objFactory in objFactories)
{
Product objProduct = objFactory.GetProduct();
objProduct.GetDetails();
}
}
——————————————————————————————–
Related Posts:
5 commentsConfiguring ASP.NET 1.1 websites on IIS 7.0
If you want to run your existing ASP.NET 1.1 websites under .NET Framework v1.1 please read this post Configuring .NET Framework 1.1 on windows vista and follow the below steps.
1. Open IIS 7 by going through Control Panel/Administrative Tools and please select the ISAPI and CGI Restrictions option from IIS section.
2. Allow the ASP.NET 1.1 in the ISAPI/CGI restrictions.
3. Make sure that your application pool should run in a 32-bit mode + v1.1 + classic mode.
Below are the commands using appcmd.exe tool which would do this.
appcmd.exe can be found under C:\Windows\System32\inetsrv.
- appcmd apppool set /apppool.name:”ASP.NET 1.1” /enable32BitAppOnWin64:true
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /managedRuntimeVersion="v1.1"
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /managedPipelineMode:"Classic"
- appcmd apppool set /apppool.name:"ASP.NET 1.1" /autoStart:true (optional)
4. Alternatively you can also use this option to run your application pool under .NET FW v1.1
Related Posts:
1 commentConfiguring .NET Framework 1.1 on windows vista
Configuring .NET FW v1.1 on Windows vista is bit tricky.
Here are the steps you need to follow
- Download .NET Fx from .NET FW v1.1 because by default vista come up with .NET FW v2.0 and v3.0.
If you install FW v1.1 alone at the end of installation you will get the following error
RegSvcs.exe – Common Language Runtime Debugging Services
——————————-
Application has generated an exception that could not be handled.
Process id=0×9a0 (2464), Thread id=0xf70 (3952).
Click OK to terminate the application.
Click CANCEL to debug the application.
—————————
OK Cancel
—————————
The above error is in .NET FW v1.1 which is known to occur on window vista.
This issue is resolved in Microsoft .NET FW 1.1 SP1, however you will need to use the following procedure
- Download .NET FW v1.1 SP1 .
- Save both installations to the same directory.
- Ensure that FW 1.1 Redistributable package name is dotnetfx.exe.If not change its name to dotnetfx.exe
- Ensure that FW 1.1 SP1 is named dotnetfxsp1.exe. If not change its name to dotnetfxsp1.exe
- Run the following 3 commands using the order shown
dotnetfx.exe /c:”msiexec.exe /a netfx.msi TARGETDIR=C:\<DirectoryName>”
dotnetfxsp1.exe /Xp:C:\<DirectoryName>\netfxsp.msp
msiexec.exe /a c:\<DirectoryName>\netfx.msi /p c:\<DirectoryName>\netfxsp.msp
- Install both Microsoft .Net Framework 1.1 and Service Pack 1 by running C:\<DirectoryName>\netfx.msi
Related Posts:
2 commentsMicrosoft Photosynth
What is Photosynth?
Photosynth is a technology from Microsoft which takes the collection of pictures of a place or an object, analyzes them for similarities, and displays them in a three-dimensional space.
Features
- You can see the photo from any angle.
- Seamlessly Zoom in or Zoom out capability.
- You can send collection of views of pictures to friends.
- You can find similar pictures that you are viewing.
3D View with Photosynth
- Photosynth provides an interface to view any object in a
picture. - It provides easy controls for exploring a collection of
photos in 3D with single click.
- Future versions of Photosynth, you’ ill be able to see your
own photographs displayed in 3D. - Smooth digital rendering and zoom capabilities.
Photosynth future
- It could make your photos more smarter!!!
- It Begins by processing an image and creates a point to
uniquely identify the image. Once you get an image then it
could show you other photos that have similar features to the
one you’re currently viewing. - Tags, URL could be applied to an image.
- It connects your photographs into a web of images and allowing
you to browse a virtual universe of interconnected scenes.
system requirements
Operating System:Windows XP SP2 and Windows Vista RC1 or later
Web Browser: IE6, IE7, Firefox 1.5 and Firefox 2.0
Memory: 256 MB of memory is a bare minimum; 1GB recommended.
Graphics:support for DirectX 9 graphics with a WDDM driver, 128 MB of graphics memory (minimum), and 32 bits per pixel.
Download & Reference link Phtosynth download
Related Posts:
No commentsASP.NET Dynamic Data Overview
Introduction
ASP.NET Dynamic Data provides the Web application scaffolding that enables you to build rich data-driven Web applications. scaffolding is mechanism that enhance the functionality of the existing ASP.NET Framework by adding the ability to dynamically display pages based on the data model of the database.
This mechanism generates the page based on the default templates, while enabling the complete customization. Customization is allowed at table as well as application level. The dynamic data fields are user controls that render standard data field types.
The sample web site application to develop using ASP.NET Dynamic data
Features
provides the following features to support the rapid development of data-driven web applications:
- ORM Object-Relational Mapping designer which generates the classes based on the data model.
- Page Templates provides the default view of data.
- Dynamic data fields for rendering the individual data types.
- Built-in data validation based on the database schema.
- Dynamic Data configuration settings that you can customize in the web.config file.
- Supports the ASP.NET Datacontrols for customization.
Background
ASP.NET Dynamic Data renders the data fields from the database metadata It also provides the capability to add information to metadata through data model which is used for custom validation.
In Visual Studio 2008, you can use the LINQ to SQL classes template to generate the data model classes. After generating the classes you can see them in App_Code folder.
System.Web.DynamicData Contains classes that provide the core functionality for ASP.NET Dynamic Data. It also provides extensibility features to customize dynamic data behavior.
Related Posts:
2 commentsMicrosoft WorldWide Telescope
The WorldWide Telescope (WWT) is a Web 2.0 visualization software environment that enables your computer to function as a virtual telescope.
It brings the imaginary from ground and space-based telescopes in the world for a exploration of a universe.
WorldWide Telescope is created with the Microsoft high performance visual experience engine and allows panning and zooming around the night sky, planets and image environments. You can reveal the hidden structures with the WWT.
WWT is a single rich application portal that blends terabytes of images,information and stories from multiple sources over the Internet in to rich media experience. Kids of all ages will feel to explore and understand the universe with its simple and powerful user interface.
Related Posts:
1 commentSoftware Architecture
Software architecture is the set of decisions about the organization of a software system that software architect makes.
What decisions does the software architect make?
Architects create architectures and defines their responsibilities which involved in doing so. Conceptualizing and experimenting the alternative architectural approaches.Creating models, components and interface documents which validates the architecture against the requirements and assumptions.
Experienced architect role involves not just technical activities but others that are more strategic in nature. A sense of business and technical strategy is required to envision the right architectural approach to customer problem.
Software Architect Activities include
- Listening to stakeholders values, concerns and goals.
- Creating technology road maps and making assertions about technology directions.
- The architect needs to partner well with a variety of different stakeholder groups,business analysts and developers.
- Preparing the tech tutorials to help developers in understanding the architecture and rationale behind the architecture.
- The architect also act as mentor and coach, working with developers to address the challenges that arise.
- Lastly, the architect must lead – the architecture team, developer community and in technical direction, the organization.
Related Posts:
2 commentsWeb 2.0 Basics
Introduction
1. Web 2.0 is a term coined by O’Reilly Media.
2. Web 2.0 is a second generation of internet based services.
3. Web 2.0 hints a improved form of world wide web.
![Recommend [kalyanms1]](http://s3.amazonaws.com/arkayne-media/img/badge/logo-recommend-badge-medium.png)