Techno Logica


Friday, March 28, 2008

HP QuickTest Professional - Functional & Regression Testing Tool

HP QuickTest Professional - Functional & Regression Testing Tool

HP QuickTest Professional software is advanced,automated testing software for building functional and regression test suites. It captures, verifies and replays user interactions automatically and helps testers quickly identify and report on application effects, while providing advanced functionality for tester collaboration.

Simplify test creation and maintenance
HP QuickTest Professional software provides functional and regression test automation for major software applications and environments, including next-generation development technologies, such as Windows® Presentation Foundation, web services, Macromedia Flex, .NET, J2EE and ERP, and CRM applications.
HP QuickTest Professional offers a fresh approach to automated testing: it deploys the concept of keyword-driven testing to radically simplify test creation and maintenance. Using keyword capabilities, your testers can build test cases by capturing flows directly from the application screens and applying robust capturing
technology (record/replay). In addition, your power users get full access to the underlying test and object properties through an integrated scripting and debugging environment that is synchronized with the Keyword View capability for your complete testing cycle.

With HP QuickTest Professional, your Quality Assurance (QA) organization can:
• Empower the entire team to create sophisticated test suites with less training
• Establish correct functionality across all environments, data sets and business processes
• Fully document and replicate defects for developers, helping them fix defects faster and meet production deadlines
• Easily regression test ever-changing applications and environments
•Deliver quality products and services and improve revenues and profitability
• Enable tester workgroups to share automated testing assets across teams




HP Mercury Quick Test Professional 9.5



The New version of QTP has some new features in it. They are :

Improvements to the Installation Process - QTP 9.5 incorporates several improvements to the installation process. The most dramatic change is offering an all-in-one install for all the supported environments delivered on a single DVD. Coupled with an all-in-one license option, this simplifies the installation process considerably. However, the financial implications of such an all-in-one license are still left to be seen (though previous add-in specific licenses will still work).

New Design-Time Panes - QTP 9.5 continues the theme QTP 9.0 established in putting a massive emphasis on smoothing the user experience and reducing the click-per-action ratio. Operations which were once buried under endless sub-menus, or had no automated interface at all, are now placed front-and-center via the new IDE panes. While the new panes do not deliver any new functionality per-se (aside from the Process Guidance pane), they have the potential to dramatically change the way you generate and maintain your code.

The Object Repository - The first difference noticed when the Local object repository or the Repository manager are opened is the new "Checkpoint and Output Objects" branch in the treeview on the left.

Mercury Screen Recorder - Captures your entire run session in a movie clip or capture only the segments with errors, and then view your movie from the Test Results window.

Dynamic Management of Object Repositories- Programmatically manage an action's shared object repository collection during the test run.

HP WinRunner - Functional Testing software

HP WinRunner software is standard, functional testing software for enterprise IT applications. It captures, verifies and replays user interactions automatically, so you can identify defects and determine that your business processes work as designed.

HP WinRunner’s intuitive recording process helps you produce robust functional tests. To create a test, HP WinRunner simply records a typical business process by emulating user actions, such as ordering an item or opening a vendor account. During recording, you can directly edit generated scripts to meet the most complex test requirements. Next, testers can add checkpoints, which compare expected and actual outcomes from the test run. HP WinRunner offers a variety of checkpoints, including test, GUI, bitmap and web links. HP WinRunner can also verify database values to determine transaction accuracy and database integrity, highlighting records that have been updated, modified, deleted and inserted. With a few mouse clicks, the DataDriver Wizard feature lets you convert a recorded business process into a datadriven test that reflects the real-life actions of multiple users. For further test enhancement, the Function Generator feature presents a quick and reliable way to program tests, while the Virtual Object Wizard feature lets you teach HP WinRunner to recognize, record and replay any unknown or custom object. As HP WinRunner executes tests, it operates the application automatically, as though a real user were performing each step in the business process. If test execution occurs after hours or in the absence of a quality assurance (QA) engineer, the Recovery Manager and Exception Handling mechanisms automatically troubleshoot unexpected events, errors and application crashes so that tests can complete smoothly. Once tests are run, HP WinRunner’s interactive report - ing tools help your team interpret results by providing detailed, easy-to-read reports that list errors and their originations. HP WinRunner lets your organization build reusable tests to repeat throughout an application’s lifecycle. Thus, if developers modify an application over time, testers do not need to modify multiple tests. Instead, they can apply changes to the Graphical User Interface (GUI) Map, a central repository of test-related information, and HP WinRunner automati - cally propagates changes to all relevant scripts.

NOTE: On February 15, 2008, HP Software announced the end–of–support for HP WinRunner versions 7.5, 7.6, 8.0, 8.2, 9.2—all versions, all editions.

Wednesday, January 2, 2008

Connect to Quality Center using Scripting

To Connect QC from QTP using VB Script

Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.TDConnection. Connect "URL", "DOMAIN", "PROJECT", "USERNAME", "PASSWORD", False

To get test name from quality center:

Set td=createobject("TDApiOle80.TDConnection.1")
td.InitConnectionEx "http://qc/qcbin"
td.ConnectProjectEx "DOMAIN", "PROJECT","USERNAME", "PASSWORD"
Set tstMgr = td.TreeManager
Set tsttr = tstMgr.NodeByPath("subject\functionality\SUB FOLDER NAME")
Set tsetFact = tsttr.TestFactory
Set tsetList = tsetFact.NewList("")
For Each tset in tsetList
Msgbox ("Test Name = " & tset.Name)
Next


To Find a particular the TestSet from QC :

Dim txtTestSet as String
txtTestSet = "TestSet_01"
Dim tset
tdc = New TDAPIOLELib.TDConnection
tdc.InitConnectionEx("http://server/qcbin")
tdc.Login("usrid", "pwd")
tdc.Connect("DOMAIN", "Project")
Dim tstMgr = tdc.TestSetTreeManager
Dim tsttr = tstMgr.NodeByPath("Root\SubFolder")
Dim tsetFact = tsttr.TestSetFactory
Dim tsetList = tsetFact.NewList("")
For Each tset In tsetList
If LCase(Trim(tset.Name)) = LCase(Trim(txtTestSet)) Then
MsgBox("Test Set Found")
End If
Next

NOTE : TDApiOle80 is for QC 8.0
TDAPIOLELib is for QC 9.0

Wednesday, November 14, 2007

VMware Lab Manager Add-in For HP Quality Center

The VMware Lab Manager Add-in for HP Quality Center provides an automation bridge between testing and deployment of test environments. QA staff now have the power to seamlessly invoke operations in VMware Lab Manager as part of a Test Set within HP Quality Center or from QuickTest Professional. Test Sets can now deploy variations of applications under test in a virtualized environment and direct other testing tools such as QuickTest Professional and WinRunner to run against them. When defects are encountered, the Add-in facilitates the creation of LiveLinks to capture the running state of the application when it failed. When the tests are finished running, the Add-in can undeploy the virtualized environment to save memory and processing resources.

For More Details : Visit - http://www.genilogix.com/solutions/vmware.aspx

Also See :

Read HP's executive brief on virtualization

View the HP/VMware/Genilogix webcast on Performance Testing Virtualized Applications

Friday, October 19, 2007

Penetration Testing

What is a penetration test?

Much of the confusion surrounding penetration testing stems from the fact it is a relatively recent and rapidly evolving field. Additionally, many organisations will have their own internal terminology (one man’s penetration test is another’s vulnerability audit or technical risk assessment).

At its simplest, a penetration-test (actually, we prefer the term security assessment) is the process of actively evaluating your information security measures. Note the emphasis on ‘active’ assessment; the information systems will be tested to find any security issues, as opposed to a solely theoretical or paper-based audit.

Why conduct a penetration test?

From a business perspective, penetration testing helps safeguard your organisation against failure, through:

* Preventing financial loss through fraud (hackers, extortionists and disgruntled employees) or through lost revenue due to unreliable business systems and processes.
* Proving due diligence and compliance to your industry regulators, customers and shareholders. Non-compliance can result in your organisation losing business, receiving heavy fines, gathering bad PR or ultimately failing. At a personal level it can also mean the loss of your job, prosecution and sometimes even imprisonment.
* Protecting your brand by avoiding loss of consumer confidence and business reputation.

From an operational perspective, penetration testing helps shape information security strategy through:

* Identifying vulnerabilities and quantifying their impact and likelihood so that they can be managed proactively; budget can be allocated and corrective measures implemented.

What can be tested?

All parts of the way that your organisation captures, stores and processes information can be assessed; the systems that the information is stored in, the transmission channels that transport it, and the processes and personnel that manage it. Examples of areas that are commonly tested are:

* Off-the-shelf products (operating systems, applications, databases, networking equipment etc.)
* Bespoke development (dynamic web sites, in-house applications etc.)
* Telephony (war-dialling, remote access etc.)
* Wireless (WIFI, Bluetooth, IR, GSM, RFID etc.)
* Personnel (screening process, social engineering etc.)
* Physical (access controls, dumpster diving etc.)

What should be tested?

Ideally, your organisation should have already conducted a risk assessment, so will be aware of the main threats (such as communications failure, e-commerce failure, loss of confidential information etc.), and can now use a security assessment to identify any vulnerabilities that are related to these threats. If you haven’t conducted a risk assessment, then it is common to start with the areas of greatest exposure, such as the public facing systems; web sites, email gateways, remote access platforms etc.

Sometimes the ‘what’ of the process may be dictated by the standards that your organisation is required to comply with. For example, a credit-card handling standard (like PCI) may require that all the components that store or process card-holder data are assessed.

Useful Links
Penetration Testing for Web Applications (Part One)


Penetration Testing for Web Applications (Part Two)

Thursday, October 18, 2007

HP QuickTest Professional (Advanced) Training

HP QuickTest Professional software is advanced,automated testing software for building functional and regression test suites. It captures, verifies and replays user interactions automatically and helps testers quickly identify and report on application effects, while
providing advanced functionality for tester collaboration.

HP QuickTest Professional software provides functional and regression test automation for major software applications and environments, including next-generation
development technologies, such as Windows® Presentation Foundation, web services, Macromedia Flex, .NET, J2EE and ERP, and CRM applications.

HP QuickTest Professional offers a fresh approach to automated testing: it deploys the concept of keyword-driven testing to radically simplify test creation and maintenance. Using keyword capabilities, your testers can build test cases by capturing flows directly from the application screens and applying robust capturing technology (record/replay). In addition, your power users get full access to the underlying test and object properties through an integrated scripting and debugging environment that is synchronized with the Keyword View capability for your complete testing cycle.

With HP QuickTest Professional, your Quality Assurance (QA) organization can:
• Empower the entire team to create sophisticated test suites with less training
• Establish correct functionality across all environments, data sets and business processes
• Fully document and replicate defects for developers,helping them fix defects faster and meet production deadlines
• Easily regression test ever-changing applications and environments
•Deliver quality products and services and improve revenues and profitability
• Enable tester workgroups to share automated testing assets across teams.

Tuesday, October 16, 2007

HP QuickTest Professional software for Mobile

HP QuickTest Professional software for Mobile is a test-automation solution for applications running on Symbian OS, Windows Mobile® software and BREW mobile devices.

HP QuickTest Professional (QTP) software for Mobile
satisfies the needs of both technical and non-technical
users, enabling your company to deploy higher-quality
mobile applications faster, cheaper and with less risk.
HP QTP for Mobile enables the tester to connect, control
and display the phone software on his PC console and
perform a multitude of tests.

HP QTP for Mobile is based on the industry-leading
solution for functional and regression test automation for
every major software application and environment.
This next-generation automated testing solution deploys
the concept of keyword-driven testing to radically simplify
test creation and maintenance. With the unique keyworddriven
approach enabled by HP QTP for Mobile, test
automation experts have full access to the underlying
test and object properties via an integrated scripting
and debugging environment that is synchronized with the
keyword view.

With this product, your organization can achieve a
number of advantages:
• Empower the entire team to create sophisticated test
suites with less training.
• Fully document and replicate handset application
defects, enabling them to be fixed in line with
production deadlines.
• Easily perform regression testing in constantly
changing device and application environments.
• Verify correct end-to-end functionality from mobile
device to application server as well as from the
application server to the device scenarios.
• Perform testing that is currently extremely labor-intensive
or impossible—such as localization and
acceptance testing.
•Use real devices, not simulation or emulation, to test
the complexities of the radio network.

Figure : HP QTP for Mobile enables testers to connect, control and display the software from a device and perform a multitude of functional tests.

Features and benefits
• Enable greater return on investment through industry-leading user-interface and environment support.
• Operate the software stand-alone or integrated into HP Quality Center.
• Use next-generation, “zero-configuration” keyword-driven testing, allowing for fast test creation, easier maintenance and more powerful data driving capability.
• Gain quick value—testers familiar with the industry-leading HP QuickTest Professional for Mobile will have extremely efficient learning curves for the mobile version.
• Handle unforeseen application events with Recovery Manager,
facilitating 24x7 testing to meet test project deadlines.
• Use simple data input to drive any object definition, method,
checkpoint and output value via the Integrated Data Table.
• Provide a complete IDE environment for QA engineers.
• Rapidly isolate and diagnose defects with TestFusion reports.

Wednesday, September 19, 2007

Microsoft "Surface" - Demo by CNET video


How To Identify Unknown Processes In Windows - You Tube