Knowledge Share

Knowledge is NOT Power IMPLEMENTATION of knowledge is Power!!!
 
HomePortalGalleryCalendarFAQRegisterUsergroupsLog in

Share | 
 

 QTP

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts : 142
Points : 410
Reputation : 0
Join date : 2007-12-29
Location : Chennai

PostSubject: QTP   Mon Dec 01, 2008 10:01 am

Table of Contents

1.0 Introduction to QuickTest 1
1.1 Over view of Quick Test Pro 8.0 1
1.1.1 QuickTest Pro 8.0 Environment Support 1
1.1.2 QuickTest Pro 8.0 Configurations 2
2.0 Record and Playback 3
2.1 Create and Execute Basic Scripts 3
2.1.1 Recording Tests 3
2.1.2 Running a Test 5
2.2 Understand Recording Levels 5
2.2.1 Standard Recording 6
2.2.2 Analog Recording 6
2.2.3 Low Level Recording 6
2.3 Understand QuickTest Results 6
3.0 How QuickTest identifies objects 10
3.1 Object Identification 10
3.1.1 Object Identification While Recording 10
3.1.2 Object Identification During Test Run 10
3.2 Object Repository Introduction 10
3.2.1 Identifying the Object 11
3.2.2 Viewing the Objectís Properties 11
3.3 Use the Object Spy 12
3.3.1 To view object properties: 12
3.3.2 To view object methods: 13
4.0 Synchronization 15
4.1 Synchronizing Your Tests 15
4.2 Options to Synchronize Tests 15
4.1.1 4.2.1 Inserting Synchronization Point 15
4.1.2 4.2.2 Adding Exist and Wait Statements 16
4.1.3 Global synchronization Settings 16
4.3 Transactions 16
4.3.1 Inserting Transactions 16
4.3.2 Ending Transactions 17
5.0 Checkpoints 18
5.1 About Checkpoints 18
5.2 Adding Checkpoints to a test 18
5.2.1 To add checkpoints while recording: 18
From Menu bar 18
5.2.2 To add a checkpoint while editing your test: 18
5.3 Types of Checkpoints 18
5.3.1 QuickTest Professional Checkpoint Types 18
5.3.2 Creating a Standard Checkpoint 19
5.3.3 Creating a Text Checkpoint 19
5.4 Use regular expressions 19
5.4.1 To define a constant property value as a regular expression: 20
5.4.2 To parameterize a property value using regular expressions: 20
5.4.3 To define a regular expression in an object checkpoint: 20
5.4.4 Common options to create regular expressions. 20
6.0 Creating Tests with Multiple Actions 22
6.1 Benefits of Test Modularity 22
6.2 Creating Tests with Multiple Actions 22
6.2.1 Creating New Actions 22
6.2.2 Inserting Existing Actions 23
6.2.3 Nesting Actions 23
6.2.4 Splitting Actions 24
6.3 Miscellaneous 24
6.3.1 Setting Action Properties 24
6.3.2 Sharing Action Information 24
6.3.3 Exiting an Action 24
6.3.4 Removing Actions from a Test 24
6.3.5 Renaming Actions 24
6.3.6 Action Template 24
7.0 Data Driving a Test 26
7.1 Parameterize tests 26
7.1.1 Parameterize test Manually 26
7.1.2 DataTable Parameters 26
7.1.3 Using Environment Variable Parameters 26
7.2 Create data-driven tests 27
7.3 Local and Global Data Tables 27
7.3.1 Using the Data Driver to Parameterize Your Test 28
8.0 Working with Data Tables 30
8.1 Introduction 30
8.2 Working with Global and Action Sheets 30
8.3 Editing and Saving Data Table 30
8.4 Importing Data from a Database 31
8.5 Using Formulas in the Data Table 31
8.6 Using Data Table Scripting Methods 32
9.0 Output and Correlation 33
9.1 About Outputting Values 33
7.1.1 9.1.1 Creating Page Output Values 33
7.1.2 9.1.2 Creating Text Output Values 33
7.1.3 9.1.3 Creating Standard Output Values 33
7.1.4 9.1.4 Creating Image Output Values 34
7.1.5 9.1.5 Creating XML Output Values 34
7.1.6 9.1.6 Creating Table Output Values 34
7.1.7 9.1.7 Creating Database Output Values 34
9.2 Capture and Reuse Run Time data 34
7.1.8 9.2.1 Adding a Standard Output Value 34
7.1.9 9.2.2 Creating Image Output Values 34
7.1.10 9.2.3 Creating Table Output Values 35
10.0 Alternatives to Standard Recording 36
10.1 Analog Recording 36
7.1.11 10.1.1 Analog Recording 36
7.1.12 10.1.2 Recording in Analog Mode 36
10.2 Low-Level Recording 37
7.1.13 10.2.1 Recording in Low-Level mode 37
10.3 Configuring Web Event Recording 38
7.1.14 10.3.1 To set Web Event Recording Configuration: 38
10.4 Define a Virtual Object 38
7.1.15 10.4.1 To define a virtual object: 38
11.0 Introduction to the Expert View 41
11.1 Object Model in the Expert View 41
11.2 Using QuickTest Professionalís online books 41
12.0 Working in the Expert View 43
12.1 VBScript Language Overview 43
7.1.16 12.1.1 VBScript Data Types 43
7.1.17 12.1.2 VBScript Variables 43
7.1.18 12.1.3 VBScript Constants 44
7.1.19 12.1.4 VBScript Operators 44
7.1.20 12.1.5 Using Conditional Statements 45
7.1.21 12.1.6 Looping Through Code 46
7.1.22 12.1.7 VBScript Procedures 47
12.2 Working with the Data Table Object 48
7.1.23 12.2.1 AddSheet Method 48
7.1.24 12.2.2 DeleteSheet Method 48
7.1.25 12.2.3 Export Method 48
7.1.26 12.2.4 ExportSheet Method 48
7.1.27 12.2.5 GetCurrentRow Method 48
7.1.28 12.2.6 GetRowCount Method 48
7.1.29 12.2.7 GetSheet Method 49
7.1.30 12.2.8 GetSheetCount Method 49
7.1.31 12.2.9 Import Method 49
7.1.32 12.2.10 ImportSheet Method 49
7.1.33 12.2.11 SetCurrentRow Method 49
7.1.34 12.2.12 SetNextRow Method 49
7.1.35 12.2.13 SetPrevRow Method 49
7.1.36 12.2.14 GlobalSheet Property 49
7.1.37 12.2.15 LocalSheet Property 49
7.1.38 12.2.17 RawValue Property 49
7.1.39 12.2.18 Value Property 50
12.3 Working with TextUtil Object. 50
7.1.40 12.3.1 GetText Method 50
7.1.41 12.3.2 GetTextLocation Method 50
12.4 Working with Reporter Objects 50
7.1.42 12.4.1 ReportEvent Method 50
7.1.43 12.4.2 Filter Property 50
7.1.44 12.4.3 ReportPath Property 50
13.0 Object Recognition and Smart Identification 51
13.1 Object Repository Custom Configuration 51
13.2 Introduction to Smart Identification 51
13.2.1 13.2.1 Base filter properties 52
13.2.2 13.2.2 Optional filter properties 52
13.3 Understanding the Smart Identification Process 52
13.4 Smart Identification Configuration 52
14.0 Enhance Test Cases with Descriptive Programming 54
14.1 Interact with Test Objects not stored in the Object Repository 54
14.1.1 14.1.1 Entering Programmatic Description Directly into Test Statements 54
14.1.2 14.1.2 Using Description Objects for Programmatic Descriptions 55
14.1.3 14.1.3 Retrieving ChildObjects 55
14.1.4 14.1.4 Using Programmatic Descriptions for the WebElement Object 56
14.1.5 14.1.5 Using the Index Property in Programmatic Descriptions 56
14.2 Access Dynamic Objects during run-time 56
14.2.1 14.2.1 Retrieving Run-Time Object Properties 56
14.2.2 14.2.2 Activating Run-Time Object Methods 57
15.0 Enhance Test Cases with User-Defined Functions 58
15.1 Utilize external Windows API functions in Test Cases 58
15.1.1 15.1.1 Extern Object 58
15.2 Create QuickTest user-defined functions 60
16.0 Database Verification 62
16.1 Review of database concepts 62
16.1.1 Understanding relational tables 62
16.1.2 About SQL 63
16.1.3 Using SQL to interact with a database 63
16.1.4 Connection String 63
16.2 How to add a database checkpoint in QuickTest 64
17.0 Recovery Manager and Scenarios 70
18.0 Scripting in Real Time Environments 96
18.1 QuickTest Pro Coding Standards & Best Practices 96
18.1.1 Introduction: 96
18.2 Naming Conventions 96
18.2.1 Local scope variables 96
18.2.2 Global scope variables 96
18.2.3 Constants 97
18.2.4 Functions/Actions 97
18.2.5 Reusable Actions 97
18.2.6 Scripts 97
18.2.7 Function Libraries 97
18.2.8 Object Repository Files 98
18.3 Coding Rules 98
18.3.1 Commenting Code 98
18.3.2 Formatting Code 100
18.3.3 Using Shared Object Repository 101
18.3.4 Using Relative paths 101
18.3.5 Using Global Variables 101
Back to top Go down
http://knowledgeshare.forumotion.com
 
QTP
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Knowledge Share :: Testing :: Automation-
Jump to: