Monday 7 December 2015

Defect Management in QC ALM

In the Test lab, we executed some tests. If the test passed, then all is well. If it fails, there is a reason for the same. Commonly, any deviation from the expected value is a defect. Defect management is nothing but reporting the newly found defect to developer, the developer fixes it and sends back to Tester for retesting. If the defect gets fixed then the test is closed or else it repeats.
QC has a very good mechanism that lets you to create and track any kind of defects. The following steps will explain how defect management is supported through ALM.
How to add a defect to ALM
Step 1:  First of all, Login to ALM to the right project and go to “Defects” tab. The lists of defects under the project are displayed in a list of the defects.
Step 2: Click on “New Defect”.  Enter the required details. As you can see all the fields in red are mandatory to enter. 


Step 3: Choose defect type



Step 4: Choose severity of the defect in project.


Step 5: Enter other details and describe the defect in the “Description” box. You can provide attachments like screen shots of errors etc. The other tabs in this dialog are for additional details. Again, project specific.


Step 6: This defect will now appear in the list. It has a unique ID to be identified with.


Step 7: You can now change its status.


Step 8: Assign it to another user:


Step 9: If this defect is linked to any other defect, we can also link it, by choosing “Linked Entities” from the left side bar and choose the other defect that is causing or effecting this defect.
 

Friday 4 December 2015

Create Test Set in Test Execution in QC ALM 10.0

Test Lab/Test Execution Phase includes following approach:
Create Test Set:
Create Test sets and choosing which tests to include in each set.
A Test set is a group of tests in a quality centre project designed to achieve specific testing goals.

Steps to Create Test Set:
  • Step 1: Select Root Folder
  • Step 2: Go to the “Test Sets “ menu
  • Step 3: Click on “New Folder”
  • Step 4: Give name as “Mercury Tours”
  • Step 5: Click on “New Folder”
  • Step 6: Give name as “Secured Login”
  • Step 7: Click on Ok Button
  • Step 8: Click on “Assign to Cycle” list box
  • Step 9: Select “Cycle1 – Comprehensive Testing “
  • Step 10: Click on OK Button.

Creating Test Cycles:

Steps to Create Test Cycles:
  • Step 1: Select “Secured Login Folder”
  • Step 2: Go to the “Test Sets” Menu
  • Step 3: Click on “New Test Set”
  • Step 4: Give the name as “Comprehensive Testing “
  • Step 5: Click on OK button
Repeat the same process to create number of test cycles.

Thursday 3 December 2015

HP QC ALM 11.0 Upgrade Benefits

In one of the HP’s obsolescence announcement around Quality Center 10, its support in organizations is no longer being available the next year, had entitled to a no cost software upgrade to version 11.0. HP will allow you to upgrade from the same level to the same level of Quality Center by providing you the updated software files for install. If you would like to upgrade to a higher level (such as QC 10 Enterprise to ALM 11.0), there is a slight up in charge for the New version QC 11.0

HP ALM QC version 11.0 has a number of cost and time saving benefits to keep in mind. Some of these features will help your organization better manage requirements, build/execute manual, automated and performance types of test cases, increase visibility of defects, plus gather and report on metrics with the touch of a button instead going through a lengthy navigation process.


1. Project planning and tracking:  
Only in ALM 11 we can find HP’s new PPT (Project Planning and Tracking) functionality that allows us to track application readiness by defining goals for activities of an application release.This functionality provides the opportunity to define these goals and activities at a more granular level and then use Milestones and KPI's (Key performance Indicators), Planning Charts and Scorecards to monitor, analyze and report on your progress.

2. Reporting:
If you gather and report metrics using manual processes, ALM 11 will speed up time to market by allowing the publishing and integration of graphs and scorecards directly from ALM to HTML types of pages (including Wiki & SharePoint), and the data will dynamically update when the information in ALM changes.

3. Requirements Management enhancements: 

Business process modeling: This feature helps in import and display business process models (BPMs), visually representing and communicating defined business process flows. A requirements hierarchy is automatically generated and directly linked to the BPM, allowing for detailed drill down to avoid the risk of requirements duplication or oversight.
New Rich Text editor: Enables rapid, easy adoption across our teams with a familiar content editor with the same functionality for data input as Microsoft Word. Content is fully searchable and report able.

4. Test configurations:
QA can design tests that run according to different use cases, each with different sets of data, creating lower script-maintenance costs. Each test configuration can be directly traced to the requirement, resulting in better test accuracy and coverage. HP Sprinter HP Sprinter dramatically reduces the time involved in manual testing, and improves accuracy

5. Development management
Improve collaboration and communication with developers in their home environment via out of the box integration with:
  • Visual Studio/TFS
  • Eclipse
  • CollabNet 

6. Administration and Integration and Performance:

  • Side by Side Clients: Allows running multiple clients connecting to different versions of ALM and QC Servers (ALM 11; QC 9.2, 10.0, 11.0)
  • Client Installation: User can install client on desktop without system administration rights
  • REST APIs: New web services technology for simple integration with ALM platform. The ALM Synchronizer now leverages the REST APIs.
  • QC Sense: Internal monitoring tool that collects data and reports on user actions performed in the user interface, and all client and server activity resulting from those actions.
  • Smart Repository: Optimized repository system, that creates better performance for common actions, and reduces the size of the file system

Wednesday 2 December 2015

Test execution in QC ALM 10.0

After defining requirements development team starts their design and development process while testing team start designing tests that can be executed once the build is deployed.
Entry Criteria for Test execution:
  • All test cases are prepared and reviewed
  • Establish Test Environment
  • Test Data Available
  • Application under Test (AUT/SUT) is delivered.

Test Execution levels:

Test Lab/Test Execution Phase includes following approach:


Create Test Set:
Create Test sets and choosing which tests to include in each set. A Test set is a group of tests in a Quality Center project designed to achieve specific testing goals.
Schedule Runs:
Quality Center enables to control the executions of tools in a test sets. We can set conditions and schedules date and time foe executing your tests. We can also set the sequence to execute the tests.
Run Tests Manually:
Once we have defined the test sets , we can begin executing the tests.When we run a test manually, we execute the test steps that defined during test planning. We decide each step pass or fail depending on whether the applications actual results match the expected output.
Run Test Automatically :
When we run an automated test, the selected testing tool opens the automatically, runs the test and exports the test results to Quality Center.
Analyze the Test Result:
We can analyze the test results to determine which test instances failed and which steps caused the failure.


Tuesday 1 December 2015

Requirement Coverage in Test Planning Phase of QC ALM


In requirement coverage we have to link each test plan tree with a requirement or requirements in the requirement phase.
By defining requirements coverage for a test, we can track of the relationship between the tests in test  plan and original requirements.

Navigation:
Step 1: Select require test case
Step 2: Go to the “requirement Coverage” menu


Step 3: Click on “Select requirement” tab
Step 4: Double Click on requirement which we want to associate with test case
Step 5: Click on Yes
Repeat the same process to associate all test cases with corresponding requirement.

Analyze Test Plan:
Review Test plan to determine how well it meets the goals that we defined at the beginning of the application management process. Then, analyze test plan by generating reports and graphs

Navigation:
Step 1: Go to “Analyze “ menu
Step 2: Select Report/graphs

Step 3: Click requirement reports/graphs to analyze 

Monday 30 November 2015

Design Test Steps in Test Planning Phase of QC ALM

Design Test Steps: Create test steps describing the operations to perform and the expected results. To create design test steps following steps need to be created.
  • Details
  • Design Steps
  • Attachments

Details:  Firstly we have to write brief description about the test cases like
  • Test case description
  • Pre requisite
  • Test environment

Steps to write details:

Step 1: Select the required Test Case
Step 2: Click the “Details” menu
Step 3: Write the Pre-requisite

Design Steps: We have to write test steps/ procedures to perform operations on the application

Steps to write the test steps are

Step 1: Select the require Test case
Step 2: Click “Design Steps” menu
Step 3: Click on + icon
Step 4: Enter Description and corresponding expected result for the step
Step 5: Click on + icon to add more test steps
Step 6: Click on OK button


Attachments: We can attach any require information about the test cases if we require like
  • Documents
  • URL
  • Screenshots
  • System Information etc.

Friday 27 November 2015

Design Tests in test Plan Phase of QC ALM

Design Test: 
For each subject in test plan tree, design the test in terms of manual tests or automation tests. Example of test cases for secured Login as follows
Mercury Tours à Functional testingà
  • Verify the Login with valid User name and password
  • Verify the Login with invalid User name and Password
  • Verify the Login with invalid User name and valid password
  • Verify the Login with valid User name and invalid password
  • Verify the Login with Valid User name only
  • Verify the Login with Valid Password only
  • Verify the Login without giving User name and Password
  • Verify the Close button in Login Window
  • Verify the Help Button in Login Window
  • There might be many test cases for a single test scenario.

Steps to design Tests:
After defining the test subjects we have to design test steps and in order to create them firstly

Step 1: Select the test Folder “May Release”

Step 2: Go to the “Test” menu again

Step 3: Click on “New Test”

Step 4: A new test window opens, give the Test name as “Login with correct credentials”



Step 5: Click OK


Repeat the same process to create number of test Scenarios in the Test Plan Phase. 

Design Test Subject in Test Planning in QC ALM:


Design Test Subject:
Consider the hierarchal relationship of the functions in our application. Divide the function into subjects and build a test plan tree representing our applications functionality. There are two ways to define the subject
  • Type of Testing VS Requirement
  • Requirement VS Type of Testing

To Design Test Subject we have to follow these steps:

Step 1: Login to ALM into the right project. Create the release, cycles and requirements as explained in the previous blogs.

Step 2: Go to the “Test Plan” menu and choose “Testing->Test Plan” from the side bar.

Step 3:  Click on New folder and create “Subject” as home folder and create a sub folder “ALM training” under it. Now create “May Release” and “June Release” Sub folders under it.

Step 4: Go to May Release folder and create a new test by clicking on “New Test Option”.

Step 5: Enter name of the test and then choose the “type”. Choose “Manual testing” there will be other type of tests too like functional, application performance, usability Testing etc.



The Beauty Of Varanasi

At six in the morning, the narrow streets which looks like alleys, of old Varanasi gleam with last night's rain. One path would be just wide enough for two men to walk abreast leads past shops down to the holy river Ganges. Sunrise barely falls, but the alleys are already in chaos. Men forces their way by pushing women, women forces their way by pushing fat bullocks, bullocks narrowly avoid stepping on children. Everything is for sale here, small bottles of holy Ganges water, larger bottles of branded mineral water, tiny figurines of the Lord Shiva, whose town this is. Tourists, almost invariably wearing colorful harem pants, Some sadhus cover their bodies with saffron colored panchas and the put on Vibhud on their body, forehead and hands.
The storeowners watch the activity with least lack of interest, Drink sweet chai out of thimble-sized mud made cups. When  they are asked for directions then they come to life, putting away the tea and describing the path with energetic and firm gestures. This may be the city where Hindus come to find enlightenment, but it is easy to lose your way.
Indian pilgrims walk barefoot through the alleys, drawn by occasional glimpses of the holy river. At last, the alleys fall away, and the sluggish green river appears, smooth as a sheet of glass. From here the view extends to the distant eastern bank, hazed with brown dust. This year, the monsoon rains have been below average, and the Ganges lies low and tame between the banks. Tens of narrow steps shine wetly. The pilgrims sigh, picking their way down the steps to the water's edge. It's sunrise, the most fortunate hour, and they're here to take a dip in the Ganges. They do Surya namaskara’s while taking holy bath in the holy river, offering water to Sun god, the belief is that the Sun god would shower his grace over their families and bless them with good health and wealth. The River Ganges cleanses all the sins committed in a birth.
In recent years the Ganges River has drawn attention for its ungodly level of pollution. But the bathers are immune to all this. Nearly 2.5 million of them come each year to Varanasi, this holiest of cities, on the banks of the most sacred river of India. According to Hindu legend, Lord Shiva let loose the Ganges from the knot of his hair. For centuries, its rich floods lent fertility to the soil of the central Gangetic plains, which nourished some of India's most prominent ancient civilizations.
Varanasi is a city of scholars, home to one of Asia's largest universities. It is a city of temples, including the gold-plated Vishwanath sacred to Shiva; the Bharat Mata, or Mother India, temple that boasts a huge three-dimensional relief map of the Indian subcontinent carved out of marble; and the hundreds of small temples that dot the waterways and alleys. And the 64 Ghats located at the banks of river Ganga are most beautiful things which resembles 64 arts.
It is also a city of legends. Varanasi strains under its own myths, which are contradictory, obscure and impossible to prove. "The history of Varanasi is a puzzle [that] has to be solved by a group of scholars together," says Bhanu Shankar Mehta, who has lived in Varanasi for more than 80 years and lectures on its history. "You must put all the mythological and historical and proto-history together." "Banares is an encyclopedia itself, it has got 100 dimensions, you can't cover it even in a book," Mehta says.

There is a myth that the famous sage and the author of  Shrimad Maha Bhagavatha epic  “Ved Vyas” along with his followers used to live in Varanasi and used to offer prayers to lord Shiva. He along with his followers used to go for Bhikshaatan and survive with that food. But once they couldn’t get food for 7 days continuously. Sage Ved Vyas lost his temper and cursed that the whole city of Varanasi would suffer with severe droughts for seven years. Lord Shiva , the protector of the city immediately appeared and  he in return asked him to leave the city and never come back, He also mentioned that  Ved Vyas had no right to stay in his city and rejected his prayers forever. Ved Vyas begged for mercy, but Lord didn’t excuse him. 
And an Old Lady with glorious look of typical Indian Women came and offered food to Sage Ved Vyas and his Followers. After they had enough food, they looked at her. She explained him cursing the entire city is a sin and asked him to take back his words, then Lord Shiva might excuse him. He came to know that she is Goddess Annapurna who herself came and offered food. He then realized and blessed the city that “though the whole world might collapse due to any natural calamities, Kaashi would be the only safest place, where even a small weed would not move” and he left the place by taking her blessings. Lord Shiva then permitted him that he can visit the place and offer his prayers only once in a year that to in the month of November and according to Hindu Calendar It’s Kaarthika Pournami.  









a

Thursday 26 November 2015

Colors of Rajasthan

When we listen to word Rajasthan, the first thing which strikes our mind is deserts, camels and Kathputli dolls. But there is a lot more to know about Rajasthan than those typical travel catalogue images. When you actually visit the place, there’s a lot more magic, a lot more color and a lot more life on every single street. Rajasthan is known as the “Land of Kings” and is one of most diverse and beautiful states of India that has managed to grab the attention of tourists across the globe. It is a place where modern world and ancient romances fuse, attracting every visitor. Here are some of the interesting facts about the state that will definitely lure you to pack your bags and visit the place.
A color coordinated City:
When you visit the state, you will be amazed to see that it is one of the most colorful states of India and more or less every city is color coordinated. The city of Jaipur is pink, Jodhpur is blue, Jhalawar is purple and Udaipur is white. While travelling through the cities and towns of the state, you will be amazed to see mutiny of colors. Even though it is a desert land, you can find all bright colors, especially visible in the turbans of the men and ghagharas worn by women. The bright colors worn by people add to the vibrancy and beauty of the state. Girls would really love this colorful state.
.
The first planned city of India:
Jaipur, the capital of the royal state is the first planned city of India. It was founded by the king Sawai Jai Singh II in the year 1727. He built the city following all the principles and rules of ancient Hindu doctrines of architecture, Vastu Shastra and Shilpa Shastra. It was designed and planned by Bengali architect and scholar Vidhyadhar Bhattacharya. It is known as the Pink City as every house is painted using pink color. A world heritage site, Jaisalmer fort is known for its history and majestic architecture. But, what’s more, intriguing to know is that this fort is still home to a large mass of the population and is probably the only inhabited fort in the world!
The magnificence of the forts and buildings in Rajasthan is hard to ignore, and Hollywood is no exception, we can see a glimpse of Jodhpur’s Mehrangarh fort in the classic Batman (Dark knight rises).  Also, the beauty of Udaipur is framed beautifully in the movie James bond (Octopussy).  This Fort stands overlooking the city and is one of the largest forts of India. This fact is perhaps known to all and is there is nothing to be amazed about. But, did you know that your favorite superhero Batman Hollywood Blockbuster, “The Dark Night Rises” was made in this very fort? 
The princely state of Udaipur is well-known as the “City of lakes” or “Venice of East” owing to the presence of 5 artificial lakes, which are considered to be the lifeline for the people. The city is like an oasis with Aravali as its backdrop. The splendid palace built in the middle of the Lake Pichola is the prime attraction of the city.
 
Second longest wall:
Did you ever known the fact that the Kumbhalgarh fort, which scuttles up to 36 km in length, is the second largest continuous wall in the World? Yes, the fort situated in the desert state has the longest continuous wall in the country and the second longest in the World after Great Wall of China. 


Haunted Places:
The state houses two most haunted places of the world. Perhaps, you must have heard about Bhangarh but there is a Ghost Village named Kuldhara, 18 km from Jaisalmer. This village is said to have been deserted overnight in the year 1825. Both the places are considered to be the most haunted places of not only India but of the World.

Temple of “Bullet Baba”, OM Banna: 

Yes, On hearing the name “Bullet Baba” I’m sure to you would be surprised. It is a temple in a small village named Chotilla in Pali district about 40 km from Jodhpur, where the presiding deity is a “Royal Enfield Bullet Motorcycle”. I am sure you are awe-stuck and puzzled. This bike belonged to a man named Om Singh Rathore, who met with a road accident while on the way to Chotilla. He was riding the bullet, when his bike skid and hit a tree, killing him on the spot. When the local people informed the Police, they took the bike and kept it in the Police station but to their astonishment, in the next morning the bike was found at the place where the accident took place. Police first thought it to be a prank and took back the bike and emptied the fuel tank. However, the next morning again the bike was found in the same spot. After the news spread across the village, a temple was built in the spot and homage is offered to the bike. It came to be known as the Temple of “Bullet Baba” and the preferred offering is alcohol, unlike the other temples. And if you observe the bike it is decorated colorfully.

These are some of the amazing and interesting facts about the Royal State of Rajasthan. I am sure after knowing these facts, you will surely pack your bags and head toward exploring this captivating and astounding region.







Test Planning in QC ALM

Developing a clear and concise test plan is fundamental and basic mandatory concept of successful application testing. A good test plan enables us to assess the quality of our application at any point in the application management process. In this phase create test plans, test cases based on requirement specified under requirement section. Test planning phase includes following approaches or steps.


  • Define Test Subject
  • Design Tests
  • Design test steps
  • Requirement Coverage
  • Automate Tests
  • Analyze Test Plan
  • Establish Baseline



Define Test Subject: Consider the hierarchical relationship of the functions in our application. Divide the function into subjects and build a test plan tree representing our applications functionality. There are two ways to define the subject
Type of Testing VS Requirement
Requirement VS Type of Testing

Design Test:  For each subject in test plan tree, design the test in terms of manual tests or automation tests. Example of test cases for secured Login as follows
Mercury Tours à Functional testingà
Verify the Login with valid User name and password
Verify the Login with Invalid User name and Password
And so on. There may be number of test cases for single Test Scenario
.
Design Test Steps: Create test steps describing the operations to perform and the expected results. To create design test steps following steps need to be created.
  • Details: write brief description about the test cases like Test case description , Pre requisite and test environment
  • Design Steps: We have to write test steps/ procedures to perform operations on the application
  • Attachments: We can attach any require information about the test cases if we require like Documents, URL, Screenshots, System Information etc.

Requirement Coverage: Link each test in the test plan tree with a requirement or requirements in the requirement phase. By defining requirements coverage for a test, we can keep track of the relationship between the tests in test plan and original requirements.

Automate Tests: For automated tests, we can first design test steps and automate them by generating a test script. These automation scripts can be created by launching different functional and performance tools such as Win Runner, Quick test Professional, Load Runner, or Visual API-XP.

Analyze Test Plan: Review test plan to determine how well it meets the goals that we defined at the beginning of the application management process. Then, analyze test plan by generating reports and graphs.

Establish Baseline: after tree plan has been reviewed and approved, we can create a baseline. A Baseline provide us with a snapshot at a specific pint in time.