How to write test cases in Quality Center

How to write test cases in Quality Center,In this post we are going to learn how we can write test cases in HP Quality center instead of writing in Microsoft Excel workbook.HP Quality Center is a test management tool which is useful in Maintaining Test Cases,Test Plans,Requirements documents,Prepare Reports,Defect Logging,Defect Tracking etc functions available in HP Quality Center.

Also Read : Export Test Cases to HP QC/ALM


How to write test cases in Quality Center


1.Login to HP Quality Center/Application Life Cycle Management.

Credentials:
Valid Username,Valid Password

How to write test cases in Quality Center
How to write test cases in Quality Center 1


2.Go to Test Plan folder to create new Project.
3.Click on New folder and enter project name as below.

How to write test cases in Quality Center
How to write test cases in Quality Center 2



4.Create new folder for Module as below.

How to write test cases in Quality Center
How to write test cases in Quality Center 3



5.Click on New Test on Module folder and Enter Test Name as below.

How to write test cases in Quality Center
How to write test cases in Quality Center 4



6.Enter Test Name , Description, Pre requisites , Select User, Date
7.Click on Save button
8.Open Module name folder and Test Cases will display like below.

How to write test cases in Quality Center
How to write test cases in Quality Center 6

9.Click on Design Steps
10.Click on New Test step
11.Enter Step name,Description steps,Expected Results as below.
How to write test cases in Quality Center
How to write test cases in Quality Center 7



12.Click on OK button and details will display as below.
How to write test cases in Quality Center 8

For more details you can watch video tutorials




Please provide your valuable suggestions or comments on this post ,i am giving real time examples to write the test cases in HP Quality Center,By this post you will get best knowledge on HP Quality Center and How to write test cases in Quality Center.

In Upcoming posts i will explain how to execute the test cases in HP Quality Center/ALM. Thank you for reading my blog.Please provide your comments after reading the post.

How to install Test ng in Eclipse

Mobile app testing test cases writing


Mobile app testing test cases writing,Mobile application testing is a process where software is developed for mobile devices is tested for its functionality, usability and security,performance.Mobile app testing can be automated with testing tools such as Monkey Talk,Appium etc.In this video i have shown how to write test cases for mobile apps.





Please provide your valuable comment on this post.

Export Test cases to Quality Center


Export Test cases  to Quality Center
Export Test cases  to Quality Center





How to Export Test Cases to Quality Center

HP ALM or Quality center is a test management tool ,Software Testers will use this tool to manage project status,version,maintain Defects.

Also Read:

Write Test Cases in HP QC/ALM
Export Test Cases to HP QC/ALM

How to Export Test Cases to Quality Center

In my previous post you have learn How to Write Test Cases in HP QC/ALM with examples and in this post you will learn how to export excel sheet Test Cases from Excel to HP Quality Center/ALM application with Step by Step.

Pre Requisites:

1.Excel Add in i.e Export to HP QC/ALM
2.Test Cases
3.Quality Center Username and Password

Steps to Export Test Cases.


1.Open Test Cases sheet.
2.Select Test Cases as below screenshot

How to Export Test Cases to Quality Center










3.Click On Add in-->Export to HP ALM and Enter HP Qc url

How to Export Test Cases to Quality Center

4.Click on Next
5.Enter Username and Password and Click on Next


How to Export Test Cases to Quality Center


6.Select Domain and Project

How to Export Test Cases to Quality Center


7.Click on Next.

8.Select the data you want to export Ex:Test for Test Cases as below screenshot.

How to Export Test Cases to Quality Center

9.Click on Next button.

10.Enter the Mapping name as below mention screenshot.

How to Export Test Cases to Quality Center

11.Select the Mapping fields to export

How to Export Test Cases to Quality Center


12.At Last click on Export.

For video tutorials please watch in youtube .

Thank you for reading my post and blog,please provide your valuable comments on this post.

Testing on Cloud and importance

Many companies are choosing cloud services due to its cost effectiveness and facilities, it is essential to verify few benchmark based on which quality of cloud services can be decided.



Security Testing


While clients all data will be available in to cloud, security becomes key concern for them – specially for services provided on public cloud. Due to such concern now, Providers are also becomes very conscious for security and hence invest more on security and provide security of data with responsibility.

Availability Testing 


Cloud offerings must be available at all the time. It is the responsibility of the cloud vendor to ensure that there are no abrupt downtimes. In addition the business of the client must not be adversely affected in case of any planned downtime.

Elasticity Testing


Customer on Cloud computing have a dynamic computing loads. At times of high load, they need greater amount of computing resources available to them on demand, and when the work loads are low, the computing resources are released back to the cloud pool. Customer expect the service provider to charge them for what they have actually used in the process.

Disaster Recovery Testing

It is preferred that a cloud offering be available all the time, though it is not 100 percentage achievable even for on-premise applications.In case of a failure, the disaster recovery should be possible and its time must be low. Verification must be done to ensure the service is back online with minimum adverse effects on the clients business.

Mobile App Testing KEY challenges

Variety of mobile handset devices

  • The increase in number of new emerging devices and varieties of devices used by the customers is the most obvious challenge in mobile application testing.
  • There are hundreds of thousands of different client devices which must be considered in testing of the mobile applications. 
  • The number could be reduced to an extent of only the targeted devices, but one has to be sure regarding the targeted devices. 
  • These varieties of devices have different screen resolutions, input types Ex: click, touch, and normal, different Mobile OS and different hardware limitations.



Availability of targeted devices


This is again a challenge in testing of mobile application. Availability of thousand of real devices for testing is too difficult. Also testing with real devices is incredibly expensive and labor intensive.

Variety of mobile OS/Platforms

  • Unlike the desktop computer, mobile device run on different platform/OS. There are Variety of mobile OS available in market for mobile devices such as Android, Blackberry, Windows mobile, iOS, Symbian etc.
  • Diversity in mobile devices, diversity in mobile platforms and its various versions along with the platform limitations make it more challenging for developing as well as testing the mobile applications.


Variety of network operators


Airtel,Vodafone,Idea,Telenor etc.

Overcome the above Challenges


  • Knowing the challenges in Mobile application testing, the strategy used for testing should focus on delivering Quality mobile applications satisfying the customer needs.
  • Some points that prove useful while testing mobile applications.
  • Testing the application on maximum possible target devices.
  • Testing on Mobile emulators which reduce the cost of real devices.
  • Use Remote real devices which allows access to various range of devices and under various network providers all over the word.

Types of Cloud Services

In Cloud computing three types of Cloud Services are available those are as follows


  1. Software As A Service(i.e SAAS)
  2. Platform As A Service(i.e PAAS)
  3. Infrastructure As A Service(i.e IAAS)




Software As A Service(i.e SAAS)

  • By this services, application is offered to the customer.
  • A single interface of the service runs on the cloud and multiple end users are serviced.
  • It reduces customers cost as they do not have to  invest in to multiple servers and software licenses ,while for provider reduces their cost since only single application needs to be hosted and maintained.
  • Main disadvantage  of this service is, generic application is not always suitable for business use.

Eg : Google docs, Microsoft office web apps tool, Pixlar, Jaycut, Aviary  etc..

Platform As A Service(i.e PAAS)

  • PAAS allow users to develop applications using language specific tools which is available run time on demand.
  • To meet development requirements of the application, they offers   a predefined combination of OS and application servers, such as LAMP platform (Linux, Apache, MySql and PHP), restricted J2EE, Ruby etc.
  • It can reduce client’s development cost .
  • Disadvantage of this service is only that it is available with specific language & tools only.

E.g: Google Apps Engine, Windows Azure Platform, Force.com etc

Infrastructure As A Service(i.e IAAS)

  • It provides basic storage and computing capabilities as standardized services over the network like servers, storage systems, networking equipment, data center space etc and load balancer to handle work load.
  • Client can also deploy their own application as well.
  • IAAS With the help of virtualization, multiple users can  share one physical server on low cost while for provider it reduces their cost since only single server needs to be maintained.
  • Amazon, Rack space, Gogrid, 3 Tera are popular IaaS service providers.

Cloud computing Advantages and Disadvantages

Advantages

  1. Reduction in upfront capital expenditure on hardware and software deployment Consumption is usually billed on a utility or subscription model.
  2. Users can terminate the contract at any time and are often covered by Service Level Agreements (SLAs) with financial penalties. This reduces risk and uncertainty and ensures return on investment.
  3. Location independence, so long as there is access to the Internet.
  4. Increased security at a much lesser cost as compared to traditional standalone applications due to centralization of data and increased security-focused resources.
  5. Easy to maintain as they do not have to be installed on each users computers.
  6. The cloud computing  model should be coined as Green model as it maximizes usage of resources and minimizes wastage making it environment friendly.



Disadvantages

1.Security and Privacy:

Users might not be comfortable handing over their data to a third party. This is an even greater concern when it comes to companies that wish to keep their sensitive information on cloud servers.
It is ensuring that a client's data is not accessed by any unauthorized users is of great importance for any cloud service.To make their servers more secure, cloud service vendors have to developed password protected accounts, security servers through which all data being transferred must pass and data encryption techniques. In cloud model, Service providers are responsible for maintaining data security and enterprises would have to rely on them.

2.Possible Downtime

Cloud computing makes our small business dependent on the reliability of your Internet connection. When it is offline, we are offline. And even the most reliable cloud computing service providers suffer server outages sometimes.

3.Cost

While in the long run, cloud hosting is a more cheaper than traditional technologies, the fact that it is currently new and has to be researched and improved actually makes it more expensive.Data centers has to buy or develop the software that will run the clouds, rewire the machines and fix unforeseen problems. This makes their initial cloud offers more expensive.

4.Knowledge And Integration

Introduction to Cloud Computing

Cloud computing is Internet based computing where virtual shared servers provide software, infrastructure, platform, devices and other resources and hosting to customers on a pay as you use basis.It allows consumers and businesses to use applications without installation and access their personal files at any computer with internet access. This technology allows for much more efficient computing by centralizing storage, memory, processing and bandwidth.  


Cloud Architecture:


  • Cloud computing architecture  consists components like
  • The Front end E.g. Client's device, Browser, Computer Network etc.
  • The backend E.g. Servers, data storage system etc.


Group of these clouds make a whole cloud computing system. It is administered via a central server that is also used for monitoring client's demand and traffic ensuring smooth functioning of the system.

Deployment Models of Cloud Computing:


  1. Public
  2. Private
  3. Community
  4. Hybrid

Public:

Standard cloud computing model, in which a service provider makes resources, such as applications and storage, available to the general public over the Internet.
Available to the general public over internet,Google  Docs

Private:

Cloud infrastructure operated delicately for a single organization, whether managed internally or by a third-party and hosted internally or externally.
Dedicated to buyer only.Operance

Community:

Shares infrastructure between several organizations from a specific community with common concerns E.g security, compliance, jurisdiction, etc.
Available to  community members only.
Cloud purchased by Airtel and will be shared with other organization.

Hybrid:

Composition of two or more clouds (private, community or public) that remain unique entities but are bound together, offering the benefits of multiple deployment models.Available to users based on deployment composition.Combination of public and private cloud.

How to set up runtime settings in Loadrunner

While running load runner script we have to set up runtime settings so that script will run properly.In this post i am going to show you how to set up load runner settings step by step.

Loadrunner script runtime settings

1.General Settings

1.Run Logic:

In run logic screen we can configure number of iterations to repeat at the same user action by each user.

Main Iterations:
Main iterations repeats the vuser actions with the given number of times.Iterations are useful only for action methods where scripting was developed.

Block Iterations:
Block Iterations will mention to repeat each vuser action with different number of times.







2.Pacing

Pacing is a vuser waiting time between the iterations executions.

  • As soon as past or previous iteration execute
  • After the past or previous iteration ends
  • Every random intervals

3.Log


Log will display the details about actual script execution after pass/fail status.Script log will display each and every step of script.

Options of Log:
1.Send messages only when and error occurs
2.Always send messages
Always should use first option to get log

Detail Level of Log
1.Standard Log
2.Extended Log -It is having three options

  • Parameter Substitution
  • Data Return by Server
  • Advanced Trace



4.Think Time


Think Time is a time where vusers will wait for a particular transaction shohuld complete.like below

Action()
{

Start_transaction("Transaction name")
Scripts....
.......................
.............................

end_trasnaction("end transaction name")

}

Thik time options

a.Ignore Think Time
b.Replay Think Time


Replay Think Time has four options

1.As Recorded
2.Multiply recorded think time by
3.Use random percentage of recorder think time
4.Limit think time to -Seconds
We have to choose Replay think time as "As Recorded"

5.Additional Attributes

Additional attributes used for reading or identifying or use purpose in the test script



6.Miscellaneous

Miscellaneous in runtime settings used for Error handling,Multi threading,Automatic Transaction.PFB

Types of Mobile App Testing

In this post i am going to giving knowledge on Mobile App testing types,it will give you some of the basic concepts on mobile app testing.Please check the below types of testing concepts in mobile app.

1.Functional Testing 
Functional testing ensures that the application is working as per the requirements. Most of the test conducted for this is driven by the user interface and call flows.

2.Performance Testing
This testing process is undertaken to check the performance and behavior of the application under certain conditions such as low battery, bad network coverage, low available memory, simultaneous access to application's server by several users and other conditions. Performance of an application can be affected from two sides application's server side and client's side. Performance testing is carried out to check both.

3.Memory Leakage Testing
Memory leakage happens when a computer program or application is unable to manage the memory it is allocated resulting in poor performance of the application and the overall slowdown of the system. As mobile devices have significant constraints of available memory, memory leakage testing is crucial for the proper functioning of an application.

4.Interrupt Testing
An application while functioning may face several interruptions like incoming calls or network coverage outage and recovery.

The different types of interruptions are:

  • Incoming and Outgoing SMS and MMS
  • Incoming and Outgoing calls
  • Incoming Notifications
  • Battery Removal
  • Cable Insertion and Removal for data transfer
  • Network outage and recovery
  • Media Player on or off
  • Device Power cycle
6.Usability testing
Usability testing is carried out to verify if the application is achieving its goals and getting a favorable response from users. This is important as the usability of an application is its key to commercial success(it is nothing but user friendliness).

7.Installation testing
Certain mobile applications come pre-installed on the device whereas others have to be installed from the store. Installation testing verifies that the installation process goes smoothly without the user having to face any difficulty. This testing process covers installation, updating and uninstalling of an application.

8.Certification Testing
To get a certificate of compliance, each mobile device needs to be tested against the guidelines set by different mobile platforms.

Types of Mobile App Testing Approach