Automation Testing, Manual Testing, QTP/UFT 11 , QC/ALM 11 ,SAP TAO, Unix, Selenium, Oracle SQL, Shell Scripting and For Online Trinings to contact me : Cell:+91-8897972059 , Email Id : quicktestprotech@gmail.com

Saturday, November 30, 2013

Step by step instructions to download and install Quality Center

HP has changed the download location for QC at least 3 times in past 1+ year.

Here is the updated URL to install HP Quality Center 11 (also known as HP Application LifeCycle Management ALM tool) 30 days trial on your machine.

Please follow ALL steps closely -

1.Go to Download Quality Center link
2.Click on the TRIALS AND DEMOS dropdown and click HP APPLICATION LIFECYCLE MANAGEMENT 11 EVALUATION

3.You will be asked to sign-in to HP Passport Single Sign On service. In case you’ve not registered earlier, complete the ‘New User registration’ form and you will be redirected to evaluation software terms of use.

4. Click on “I Agree” button.

5.Assuming you are trying to download Quality Center for windows, click on Software_HP_11.00_Windows_TC096_15000.zip and Software_HP_11.00_Windows_TC096_15000.z01. You need to download BOTH the files in order to install QC. (In case you are downloading Linux/Unix variants you may need to download the appropriate versions as shown in the screenshot below)

6. The two files shown above are around 2.1GB in size so it will take around 2-3 hrs to download (depending upon your internet speed)
7. Make sure both files are present in the same folder and both files have exactly the same name except for the extension (.zip and .z01).
8. Download and install Winzip or WinRar. (7zip won’t work here)
9. Double click on the .zip file and you will see .iso file.

10. Extract this iso file using your favorite unzipping software.( I prefer a nice and free utility software called 7zip which can be downloaded here http://downloads.sourceforge.net/sevenzip/7z920.exe You can download and install this utility.)
11. Once extracted, go inside the folder TC096-15000\ALM and open Install.pdf  file.
12. If you are installing QC for learning purposes, you may just need to refer “Quality Center Starter edition” section. Go to “Installing Quality Center Starter Edition” section in the pdf file and follow the steps. The place where it asks you to use/insert CD, you can run the Setup.msi file present under TC096-15000\ALM\Installation\Win32 for 32 bit OS and TC096-15000\ALM\Installation\Win64 for 64 bit OS.

That’s it! QC should now be installed. All the best.

Ended to You.

Tuesday, November 26, 2013

HP Quality Center or ALM Introduction and Installation Guide 1

HP Quality Center or ALM Introduction and Installation
This tutorial covers HP ALM/QC introduction, installing ALM, and understanding different components.
Introduction to HP Application Lifecycle Management/Quality Center:
HP ALM formerly known as Quality Center is a Test Management toolto manage entire Quality Assurance and testing process for an organization. Before being called HP Quality center it used to be Mercury Test Director.
In my experience I have come across very few projects (Manual and Automation) that did not use Quality Center software. It is a very simple tool to use, extremely user friendly. Even if you have never used it before, chances are you will be able to figure out how to in a really short time. However, there is a lot of difference between being able to navigate through the tool and being able to exploit its potential to benefit your project.
So here is a tutorial to easily learn Quality Center capabilities and use them successfully.
Download HP ALM/QC Trial: The current version of HP ALM is 11.5. You can download the trial version from the following link: Hp Quality Center Download
It is a little tricky to install it on your local machine. But you will be able to do so, if you have a compatible machine and understand the components ALM has.
Briefly, the following are the components:
  • A server
  • A client
  • Database
Each component has a certain version that is compatible with ALM.
For system requirement please refer to the page: HP ALM System Requirements
Why is ALM/QC used?
ALM helps make project management, from requirements to deployment easier. It increases predictability and creates a framework to manage projects from a central repository.  With ALM you will be able to:
------------
1.     Define and maintain requirements and tests.
2.     Create Tests
3.     Organize tests into logical subsets
4.     Schedule tests and execute them
5.     Collect results and analyze the data
6.     Create, monitor and analyze defects
7.     Share defects across projects
8.     Track progress of a project
9.     Collect metrics
10.   Share asset libraries across projects
11.   Integrate ALM with HP testing tools other third party tools for a complete automation experience.

Application Lifecycle Management (ALM) flow:

How to start ALM
Step #1: To start ALM type the address http://<ALM Platform Server Name>[<:Port number>]/qcbin
Step #2: Click “Application LifeCycle Management” in the below window.

Step #3: Enter the user name and password. “Authenticate “button gets activated. Click on it. The Domain and Project fields get activated. Depending on your login credentials you have access to certain projects. (This information is set by your ALM Admin). (Click on image to enlarge)



Step #4: Choose the Domain and Project as required and click “Login”. Once you are logged in, ALM window opens up and displays the module in which you were working last.
Domain is nothing but a logical division of departments for your organization. Example: Banking, Retail, Health Care etc.
Projects are the different teams working within the domain. For example in a Retail project, they could be working on the front end store Point of sale app or the back end inventory module.
The Domain and Project information is set by the ALM Admin.
Step #5: The user domain, Project and user information is displayed on the upper right hand corner. Also notice the side bar. It contains the components from the ALM flow.
  • Dashboard
  • Management
  • Requirements
  • Testing
  • Defects
ALM is all about these components and we will learn what each one is for.  Even though Dashboard is the first in the list, we will discuss it last in our series, simply because it is an overall monitoring feature and it will be more practical to see the data that we actually create.
In next tutorial, we will continue HP ALM/QC training by taking an example of sample application. This session will cover what HP ALM can do for your project and how best you can manage all your testing related activities at one place.

Ended to You.

Sunday, November 24, 2013

Descriptive Programming in QTP – The Complete Guide - 1

This article covers the basics of Descriptive Programming in QTP with the main aim to help you get familiarized with its basic syntax. The article uses an illustrative approach to help you understand the difference between Object Repository and Descriptive Programming code. And also to guide you through the process of creating descriptive programming code.


Before you start looking into the details, the primary question that you have to answer is this – “What is Descriptive Programming in QTP?” In simple words, Descriptive Programming is the type of programming where you DON’T use Object Repository while writing your test scripts.



Simple enough? Well, after reading the above definition of descriptive programming, there might be many queries that may come to your mind -

>> Why do we eliminate object repository while scripting?

>> How to skip Object Repository and write scripts using Descriptive Programming?

>> What are the advantages/disadvantages of Descriptive Programming over Object Repository?

>> Are there any situations where using Descriptive Programming would be advantageous over Object Repository?


Before we begin answering the above queries, let us first see the structure of a line of code in QTP and understand how Object Repository fits in there. Once you are clear with this concept, understanding and using Descriptive Programming in your script becomes very very easy.


Structure of a QTP Statement and Object Repository


Let’s take an example to understand the below concept. Consider that you have to write the code which enters some text in Google Search. The code that you would write with the use of object repository would look something like this -

Browser("brGoogle").Page("pgGoogle").WebEdit("q").Set "google"

You can divide the above line of code into 2 parts 


a) The object hierarchy part (or simply the object part) denoted by Browser(“brGoogle”)     .Page(“pgGoogle”) .WebEdit(“q”)

b) and the action part specified by Set “google”

So we can safely say that a QTP statement usually consists of 2 things – the object and the action.


Also, the object is something which is stored in the Object Repository. So when you run the above code, QTP will try to find out the object properties from Object Repository and then perform the action on that object


So when you say that you want to write your script a such a manner that it doesn’t use object repository, it actually means that you have to write the object part of your statement in a different way such that it doesn’t go to Object Repository to find the object properties. Check the below diagram that illustrates the this concept.






Now you know that in descriptive programming, you only need to modify the Object part of your code. But how do you do that? Well, the answer to this query also lies within the Object Repository.


Why does QTP refer to Object Repository while running a statement? QTP does it so that it can find the properties associated with the object from the Object Repository. So what if you directly provide the properties of the object in the code itself? If you do this, QTP finds the object properties in the code itself and therefore, there is no need for it to go and refer the Object Repository. And this is the way, you write your Descriptive Programming Code.. :–)

Writing Descriptive Programming Code

The below code snippet shows the syntax and example of Descriptive Programming approach.

1 'Descriptive Programming Syntax
2 Control("PropName1:=PropValue1","PropName2:=PropValue2", and so on..)
3 'Let's assume we have a Search button with properties as: name=Search & type=Submit.
4 'This can be written as follows using descriptive programming approach
5  WebButton("name:=Search","type:=Submit")


The below image depicts this concept more clearly.




Using this concept, you can now re-write each of the objects as follows -

Browser(“brGoogle”) becomes Browser(“title:=Google”)

Page(“pgGoogle”) becomes Page(“title:=Google”)

WebEdit(“q”) becomes WebEdit(“name:=q”,”type:=text”)

Combining the above 3 objects, the complete statement can be written as -

Browser("title:=Google").Page("title:=Google").WebEdit("name:=q","type:=text").Set "google"

Descriptive Programming Example: As an example, let us see the descriptive programming code that searches for a string in google.com and then displays the total number of results found in a message box.


'Open Google.com
SystemUtil.Run "iexplore.exe", "http://www.google.com"

'Set value in Google Search Box
Browser("title:=Google").Page("title:=Google").WebEdit("name:=q","type:=text").Set "quicktestprotech"

'Click on Search button
Browser("title:=Google").Page("title:=Google").WebButton("name:=Google Search","type:=submit").Click

'Find out the number of search results displayed
sResults = Browser("title:=.*Google Search").Page("title:=.*Google Search").WebElement("html id:=resultStats").GetROProperty("innertext")

'Display the Result in a message box
Msgbox sResults

Ended to you


This was all about the very basics of Descriptive Programming and its Syntax in QTP. In the next article, we will see some more important concepts that you can use with descriptive programming. Did you find this article useful? Let us know your thoughts about this using the comments section.



Saturday, November 23, 2013

HP Unified Functional Testing (UFT) 11.5 QTPs Latest Version

HP has launched would soon be launching the latest version of QuickTest Professional (QTP). This new version of QTP is called HP Unified Functional Testing (UFT) 11.5. Below is the sneak preview of some of the important new features that will be available in UFT 11.5

HP ALM11 Business Process Model Video




QTP 11.0 (HPO-M47) Certification Exam Model Questions -1


1) QuickTest processes comments when it runs a test.

A. True
B. False

2) Press __________ to add a new step below the currently selected step.

A. F8           
B. Shift + A            
C. F0           
D. Shift + A + Q

3) While working with the Keyword View, you can _________ steps to move them to a different location in a test or in an action

A. Copy and Paste   
B. Cut and Paste     
C. Drag and drop     
D. Both A. and C.

4) You can specify the order in which the columns are displayed in the Keyword view.

A. True                  
B. False

5) You can view _________ while working with keyword view.

A. Object properties           
B. Action properties           
C. Action call properties
D. Checkpoint properties     
E. Output value properties   
F. None of the above         
G. All of above

6) You cannot manage some aspects of a local object repository using the QuickTest Object Repository automation object model.

A. True                  
B. False

7) For each action, you can use a combination of objects from your local and shared object repositories.

A. True                  
B. False

8) QuickTest adds all new objects to the local object repository even if one or more shared object repositories are already associated with the action assuming that an object with the same description does not already exist in one of the associated shared object repositories.

A. True                  
B. False

9) If a child object is added to a local object repository, and its parents are in a shared object repository, then you have to manually drag and drop its parent objects from shared object repository to local object repository.

A. True                  
B. False

10) The ________ is not accessible as a separate file

A. Local object repository             
B. Shared object repository
C. Both                                     
D. None

11) You can use the Keyword View to add a step ___________ in your test.

A. At the end
B. Below the currently selected step
C. At the beginning
D. At any point

12) The Documentation cell is ___________.

A. Read-only
B. Write-only
C. Read and Write
D. Read write & execute

13) An Item column can be any of the following:

A. A test object
B. A statement like Dim
C. A step generated by step generator
D. All of above


14) The Operation cell in the keyword view specifies the operation to be performed on the item listed in the ___________ Column.

A. Operation
B. Documentation
C. Item
D. Value


15) Even if the Item column in the Keyword View is displayed to the right of the Operation column, you must still first select an item to view the list of available operations in the Operation column.

A. True
B. False

16) The Value cell in the keyword view can contain ___________ Value

A. Constant
B. Parameter
C. Both A. & B.        
D. None of these

17) The ______________ enables you to encode your passwords and place secure values into the Data Table.

A. Password Encoder
B. Password Decoder
C. Password Encode
D. Password Decode

18) You can also encrypt strings in Data Table cells using the _____________ option in the Data Table menu.

A. Decrypt
B. Encrypt
C. Encrypt Code      
D. Decrypt Code

19) In addition to adding standard statement steps to your test using the Keyword View, you can also insert

A. Checkpoint step
B. Output value step
C. Comment step     
D. All of above

20) The correct syntax of the conditional statement starting with Do is ________

A. Do While             
B. Do Until              
C. Do Next    
D. Both A. and B.

Loading...