Search This Blog

Monday, July 19, 2010

Uninstall a Software Using VB Script

Uninstall a software using vbscript , QTP
This works for uninstalling most applications. In this example I will show how AutoCAD 2005 can be uninstalled using a VBScript. Open Regedit and look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall search for the application and find a the product code that is in GUID format looking like this: {5783F2D7-0301-0409-0002-0060B0CE6BBA} It might be something else for you. The code below will uninstall AutoCAD 2005 as well as Express Tools. Copy the code below into Notepad and give the file the extension vbs.on error resume next
Set WshShell = CreateObject(”WScript.Shell”)
‘ Uninstall Express Tools
WshShell.Run “msiexec /x {5783F2D7-0311-0409-0000-0060B0CE6BBA} /q”,1,true
‘ Uninstall AutoCAD 2005
WshShell.Run “msiexec /x {5783F2D7-0301-0409-0002-0060B0CE6BBA} /q”,1,true
Versioning *. In earlier of HP QTP and HP Quality Center, few options version control are available if your Quality Center server had the Version Control Add-ins, who worked with tools from third-party version control for the audit of release. However, version control is fully integrated with Quality Center and the site administrator can enable the version control on a per project basis.

When QTP is connected to a Quality Center project with the support of version control, you can check in any QTP asset or into or out of the version control database.

Baselining *. In Quality Center, a project administrator can create baselines that provide “snapshots” of a project at different stages of development. In the Management module Libraries-tab, the administrator first creates a library, which specifies the root folder from which to import the data. The administrator then creates the actual base line, which includes the last check in versions of all assets included in the library. The administrator can also import data reference and share all other projects Quality Center.

When a project reaches a milestone in the life cycle of the project, the administrator can create a new baseline of library files there.

In HP Quality Center, these baselines can be viewed and compared in their entirety. In QuickTest, you can view, extract, or compare different assets recorded in any standard reference library. This allows you to consider an asset as it appeared at a particular stage of the timeline of the project.

Please Note:

Baselines are supported in HP Quality Center 10.00 Enterprise and Premier editions only. They are not supported in HP Quality Center Starter edition.

Monday, September 28, 2009

Overview of BPT in QC

Business Components module:
Location where components are stored.
Test Plan module:
Location where test scripts are created and stored.
Location where Components are requested.
Test Lab module:
Location where test scripts are executed.


Requesting Components:
Create a new test in QC’s Test Plan module.
Navigate to the “Test Script” tab.
Click the “New Component request” button.
Fill in the new component request form.
Wait for Component status to become “Ready”.

Who will be using BPT?

Groups of BPT Users:
1.Subject Matter Experts (SME)
2.Automation Experts

Subject Matter Experts (SME):This is defined as a tester who is very knowledgeable with the AUT and capable of writing highly detailed manual test cases.
The Role of the SME is to:
Write exact test steps required for the component to playback and verify steps (must include data to use).
Request for Components to be automated.
Create the BPT test script. This will be done by adding components to the test script.
Execute BPT test scripts.
Gather test results.

Automation Expert:This is the person who will be using QTP to automate Components.
The Role of the Automation Expert:
Convert Manual Components into Automated Components.
Update and Maintain Automated Components.