Automation Repository - QTP Tutorials Made Easy Actions in QTP – The Basics By Anish Pillai Automation

Slides:



Advertisements
Similar presentations
H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. USA - +1-(770) ,
Advertisements

Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Visit the ccScan Website Scan, Import, and Automatically File documents to the Cloud SCAN, IMPORT, AND AUTOMATICALLY FILE DOCUMENTS TO SALESFORCE ® Introduction.
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Geethu Gopinath QTP An automated testing software designed for testing various software applications and environments-provides functional.
Configuration Management
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Tutorial 6 Creating a Web Form
Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
Framework is l Reusable Code, often domain specific (GUI, Net, Web, etc) l expressed as l a set of classes and l the way objects in those classes collaborate.
Reza Gorgan Mohammadi AmirKabir University of Technology, Department of Computer Engineering & Information Technology Advanced design.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
Geography 465 Overview Geoprocessing in ArcGIS. MODELING Geoprocessing as modeling.
Cognizant Reusable Automation Framework for Testing C.R.A.F.T.
Understanding of Automation Framework A Storehouse of Vast Knowledge on Software Testing and Quality Assurance.
“GENERIC SCRIPT” Everything can be automated, even automation process itself. “GENERIC SCRIPT” Everything can be automated, even automation process itself.
September 2009 QTP Automation Framework. Objective  Introduction to Automation  Benefits of Automated Testing  Automated Testing Process  Introduction.
Cognizant Reusable Automation Framework for Testing C.R.A.F.T.
Automation Repository - QTP Tutorials Made Easy The Zero th Step TEST AUTOMATION AND QTP.
The chapter will address the following questions:
QC 9.2 Prepared By  Sriraman K. 2 Objectives Test Management Tool – What, Why, Benefits etc To make participants aware of Test Process and controlling.
Business Optix Library Service – Workflow
Business Flow Modeller (BFM) Simplify and standardize your business processes across the project lifecycle.
Automation Testing- QTP Rajesh Charles Batch No: Date: jan
Sage CRM Developers Course
Thank You ©2012, Cognizant. Rapido has been created by the Research and Development team from QE&A Technology CoE Rapido is continuously enhanced and.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
ASP.NET Programming with C# and SQL Server First Edition Chapter 3 Using Functions, Methods, and Control Structures.
MERCURY BUSINESS PROCESS TESTING. AGENDA  Objective  What is Business Process Testing  Business Components  Defining Requirements  Creation of Business.
SE: CHAPTER 7 Writing The Program
Jan. 29, 2002Grand Challenges in Simulation Issues in Enhancing Model Reuse C. Michael Overstreet Richard E. Nance Osman Balci.
Using the Right Method to Collect Information IW233 Amanda Murphy.
Reusable and Multiple Actions USINGQTP65-STUDENT-01A.
Test Creation in QuickTest Professional Using Keyword Driven Methodology A Storehouse of Vast Knowledge on Software Testing.
H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. USA - +1-(770) ,
Object Oriented Software Development
Learners Support Publications Object Oriented Programming.
Managing Documents the Right Way IA354 Amanda Murphy.
Manali Joshi1 The Observer Design Pattern Presented By: Manali Joshi.
Multiplication Facts Table of Contents 0’s 1’s 2’s 3’s 4’s 5’s 6’s 7’s 8’s 9’s 10’s.
XP New Perspectives on XML, 2 nd Edition Tutorial 7 1 TUTORIAL 7 CREATING A COMPUTATIONAL STYLESHEET.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
H2K Infosys is business based in Atlanta, Georgia – United States Providing Online IT training services world wide. USA - +1-(770) ,
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Lecture 4 – Function (Part 1) FTMK, UTeM – Sem /2014.
QC – User Interface QUALITY CENTER. QC – Testing Process QC testing process includes four phases: Specifying Requirements Specifying Requirements Planning.
Active Directory Domain Services (AD DS). Identity and Access (IDA) – An IDA infrastructure should: Store information about users, groups, computers and.
Automation Testing- QTP Rajesh Charles Batch No: Date: jan
Gmail Customer Support Phone Number
Scan, Import, and Automatically file documents to Box Introduction
Scanning to Google Drive and Docs™ with ccScan®
Managing, Storing, and Executing DTS Packages
7. Modular and structured design
Python’s Modules Noah Black.
Understanding of Automation Framework
Object-Oriented Techniques
Observer Design Pattern
UNIT - V STORED PROCEDURE.
Function There are two types of Function User Defined Function
C-language Lecture By B.S.S.Tejesh, S.Neeraja Asst.Prof.
Abstract descriptions of systems whose requirements are being analysed
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
Chapter 5 Designing the Architecture Shari L. Pfleeger Joanne M. Atlee
Personal Software Process Software Estimation
Software Design Lecture : 15.
Libraries of Code Notes from Wilson, Software Design and Development Preliminary Course pp
Introduction to Object-Oriented Programming
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
Presentation transcript:

Automation Repository - QTP Tutorials Made Easy Actions in QTP – The Basics By Anish Pillai Automation

Automation Repository - QTP Tutorials Made Easy What you would read in this PPT: What are QTP Actions. What are the different types of QTP actions. How actions access data from QTP data tables. How to call actions in your QTP scripts.

Automation Repository - QTP Tutorials Made Easy What is a QTP Action? QTP Action is a placeholder or a component in which you can write your scripts or code. You can write your code in QTP actions in the same way you do in a function library or scripted business component. Just like functions, actions also help to divide your test script into logical units or business flows. In fact, a QTP test script is itself a collection of one or more actions. Whenever you create a new test case, an action will also be created automatically for that test case.

Automation Repository - QTP Tutorials Made Easy What is a QTP Action – contd.. Each test case in QTP consists of one or more actions and the flow of the test case is determined by the order of action calls. Example: Consider a scenario where you login to gmail >> send an >> logout from gmail This scenario can be scripted by adding 3 actions in a QTP test script as –

Automation Repository - QTP Tutorials Made Easy What is a QTP Action – contd.. Modularization provided by actions is similar to what is there with functions. Only difference is the implementation... is similar to..

Automation Repository - QTP Tutorials Made Easy Different Types of QTP Actions QTP actions can be classified into the following different types - Different Types of QTP Actions NOTE: QTP documentation doesn’t specify an action type as ‘Internal’. We have just extended the ‘External Action’ type to come up with ‘Internal Action’.

Automation Repository - QTP Tutorials Made Easy Different Types of QTP Actions – contd.. QTP actions can be classified into the following different types - Reusable Actions : These are the actions that can be called multiple times by – - the same test in which it is stored, and - by other external tests also. Non-Reusable Actions : These are the actions that can be called only once and that too in the test where they are stored. These can’t be called from external tests. Internal Actions : With reference to a QTP test case, an internal action is one that is stored within that test case. This action can be reusable as well as non-reusable. External Actions : With reference to a QTP test case, an external action is one that is stored in some other test case. External actions should be reusable otherwise it can’t be used outside the test case.

Automation Repository - QTP Tutorials Made Easy QTP Actions and Data Sheets QTP provides 2 types of inbuilt data sheets which can be used to store test data. QTP Actions can interact with these data sheets using inbuilt QTP functions to - read data from the data sheets, and to write data to the data sheets. Types of QTP Data SheetsGlobal Data SheetLocal Data Sheet

Automation Repository - QTP Tutorials Made Easy QTP Actions and Data Sheets – contd.. Global Data Sheets A Global Data sheet is one which can be accessed by all the actions in the test case. Each test case has only one Global Sheet. The name of the Global Data Sheet is ‘Global’. This sheet can be used when you want to pass data between multiple actions. Local Data Sheets A local Data Sheet is one which can be accessed by only one action. The number of local sheets is equal to the number of actions in the test case. [Each action will have its own data sheet] The name of the local sheet is same as the name of its associated action. Local data sheet can be used to store data that would be used within that action only.

Automation Repository - QTP Tutorials Made Easy Calling Actions in your Test Scripts Once you have a set of actions (internal or external) available with you, you can call these actions in your test scripts. The order in which you call your actions defines the flow of your test case. Example: login to Gmail >> send an >> logout from Gmail There are two ways in which you can call actions in a test script - 2 ways to call actions in a test scriptcalling copy of an actioncalling an existing action

Automation Repository - QTP Tutorials Made Easy Calling Actions in your Test Scripts – contd.. Call to Copy of an Action When you call the copy of an action into a test case, the original action is copied in its entirety. If you make any changes to the copied action, it will not affect the original action in any way. You can call copies of actions when you want to use the same action with some modifications. Call to Existing Action When you call an existing action, the action would be called as a read-only action. The action can only be modified in the test in which it is created. This will affect all the tests where it is called. You can call existing actions where you want to reuse the same actions without any modifications.

Automation Repository - QTP Tutorials Made Easy THANK YOU We are always eager to know what you think about our content. For feedback, suggestions or any queries, please us at For more QTP Tutorials, visit –