Session Objectives Reserved Words and Object type Conditional Usage of Reserved Words Usage of Conditional Logic 2.

Slides:



Advertisements
Similar presentations
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Advertisements

Logging In Go to web site:
Tutorial 7: Using Advanced Functions and Conditional Formatting
CSC110 Fall Chapter 5: Decision Visual Basic.NET.
Chapter 3: Using SQL Queries to Insert, Update, Delete, and View Data
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 4 Decisions and Conditions.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Introduction to Structured Query Language (SQL)
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Tutorial 8: Working with Advanced Functions
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Module 3: Table Selection
© 1999, by Que Education and Training, Chapter 5, pages of Introduction to Computer Programming with Visual Basic 6: A Problem-Solving Approach.
Session Objectives Object Types – Query, HTML Table Purpose of the Query and Explanation How to add a Query to a PTF Test Case 2 Session 5 - Query.
Copyright © 2001 by Wiley. All rights reserved. Chapter 10: Advanced Database Operations Revising Vintage Videos Setting RecordSource at run time DBGrid.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
1 Team Leader TKS Job Aid. 2 Viewing the On-line Presentation If you are viewing this presentation via Internet Explorer for best results resize the “Notes”
Exam Review – Queries & MORE! Access SimNet Exam Access Case Exam Final Exam.
Session Objectives Object Types – Text, Check Box and Combo Box Purpose/Usage of the Object Type Hands-on Exercise Session 3 & 4 - Set Values.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Mass Assigning Student Data Mass Assigning Student Data Presented by: Halie Paglio.
Python Programming Using Variables and input. Objectives We’re learning to make use of if statements to enable code to ask questions. Outcomes Build an.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Chapter 5 Menus, Common Dialog Boxes, and Methods Programming in C#.NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
Analyzing Data For Effective Decision Making Chapter 3.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
Shell Script Programming. 2 Using UNIX Shell Scripts Unlike high-level language programs, shell scripts do not have to be converted into machine language.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Session Objectives How to create a Library Test Script How to use the Library Test Script in main PTF Script Object Types – Test/Exec Usage of Object Type.
Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Security Panel Application Introducing the Select Case Multiple-Selection Statement.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Manage Attendance. C1-AT Manage Attendance by Class and Subject Teacher Description: –This function allows Class Teacher to; Manage Attendance Roster.
CPAA – Data entry - Time management. Grade Employee This WSR indicates the hours of work per week as well as the hours of work per day for this work schedule.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.1.
Chapter Six Introduction to Shell Script Programming.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.1.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
Chapter 8 Manipulating MySQL Databases with PHP PHP Programming with MySQL 2 nd Edition.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
# 1# 1 QueriesQueries How do we ask questions of the data? What is SELECT? What is FROM? What is WHERE? What is a calculated field? Spring 2010 CS105.
Microsoft Visual Basic 2012 CHAPTER FIVE Decision Structures.
Basic SQL*Plus edit and execute commands SQL*Plus buffer and built-in editor holds the last SQL statement Statements are created in free-flow style and.
IMS 4212: Constraints & Triggers 1 Dr. Lawrence West, Management Dept., University of Central Florida Stored Procedures in SQL Server.
CSD 340 (Blum)1 Introducing Text Input elements and Ifs.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
 CONACT UC:  Magnific training   
4 - Conditional Control Structures CHAPTER 4. Introduction A Program is usually not limited to a linear sequence of instructions. In real life, a programme.
Resource Review Excel formula basics Demonstrate how to enter manual formulas Examine some of the available functions and their usage Discuss the.
Macros in Excel Using VBA Time Required – 5 hours.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Prepared by: Session ID: Using PeopleSoft Test Framework During Development Matt Shimel Principal Applications Systems Analyst/Developer University of.
ASP.NET Programming with C# and SQL Server First Edition
JavaScript, Sixth Edition
Program with PL/SQL Lesson 4.
Download/Upload Receipts
Upload/Download Receipts
Selenium HP Web Test Tool Training
Conditions and Ifs BIS1523 – Lecture 8.
Managing Rosters Screener Training Module Module 5
Three Special Structures – Case, Do While, and Do Until
JavaScript: Introduction to Scripting
Web Development & Design Foundations with HTML5 7th Edition
Presentation transcript:

Session Objectives Reserved Words and Object type Conditional Usage of Reserved Words Usage of Conditional Logic 2

Reserved Words Reserved Words have special meaning to PTF. Each of these words predefined to perform specific functions when used in a test. Ex.: #TODAY – Applies the current date to the field against which it is entered. Reserved words are useful when data is not known before the test is executed. Reserved words enable you to access data available from the PTF program when a test is executed. Session 8 - Reserve Words and ConditionalSlide 3

Reserved Words #DIS# #DTTM #EXIST# #FAIL# #CHECK# #LIKEF #LIKEW# #NOTEXIST# #PREFIX# Session 8 - Reserve Words and ConditionalSlide 4

Reserved Word – #DIS# Verifies a value and checks whether the object is display- only. Logs a Fail if the object is not display-only If you use #DIS# without a value, then the value is ignored and #DIS# only checks for whether the field is disabled. This reserved word is useful when, the object is visible but not editable. Reserve Word #DIS# Session 8 - Reserve Words and ConditionalSlide 5

Reserved Word – #DTTM #DTTM Populate current date and time into a field. Reserve Word #DTTM Session 8 - Reserve Words and ConditionalSlide 6

Reserved Word – #EXIST# Verifies a field exists and return the Value ‘Pass’ if field exists else ‘Fail’ If a value is passed, set the field to value. Example The first step checks for whether the designated Work Location Id field exists in the application and logs a fail if it is not found. The second step not only checks for the existence of the field; it attempts to enter the value 003 into it. Reserve Word #EXIST# Session 8 - Reserve Words and ConditionalSlide 7

Reserved Word – #FAIL# Performs comparison but does not update the value. A Fail is logged if value is not matched else a pass is logged Similar Reserved Word - Check Example In this example, the PTF logs a fail if the Desig Work Location Field is not equal to 003. Reserve Word #FAIL# Session 8 - Reserve Words and ConditionalSlide 8

Reserved Words- #CHECK# Performs Comparison in an object against the expected value. Updates the value if data does not match Would not update the value if data matches Example In this example, the PTF sets the value to KUSPTEST Session 7 - Reserve Words and ConditionalSlide 9

Reserved Word – #LIKEF# (LikeFail) Look for Similar Values, not an exact match Similar match is not found, it logs a Fail. Type of MatchPatternMatch (Log a Pass) No Match (Log a Fail) Multiple charactersa*aaa, aBa, aBBBaABC Multiple characters*ab*abc, AABB, XabaZb, bac Multiple charactersab*abcdefg, abccab, aab Reserve Word Example #LIKEF# Some fields contain the current date and time. Use the #LIKEF##TODAY* Session 8 - Reserve Words and ConditionalSlide 10

Reserved Word – #LIKEW# (Like Warning) Look for Similar Values, not an exact match Similar match is not found, it logs a Warning. Example Reserve Word Matches the wild card string, the status is Green #LIKEW# Status of the comparison #LIKEW# Session 8 - Reserve Words and ConditionalSlide 11

Reserved Word – #LIKEW# (Like Warning) Look for Similar Values, not an exact match Similar match is not found, it logs a Warning. Example Reserve Word When the wildcard string does not have similarvalue#LIKEW# Status of the comparison when does not match Session 8 - Reserve Words and ConditionalSlide 12

Reserved Word – #NOTEXIST# The opposite of the #EXIST# reserved word, #NOTEXIST# verifies that a field does not exist. If the field does not exist, a Pass is logged, else a Fail is logged. Reserve Word #NOTEXIST# Session 8 - Reserve Words and ConditionalSlide 13

Reserved Words – #PREFIX# Substitutes the text in the Prefix field in the Test Editor for the #PREFIX# string in the value field. Appends the text if #PREFIX# reserved word is used at the beginning of the text in the Value field. This substitution enables to modify test data. This substitution is useful when same test has to be run on different employee id’s or on different effective dates. Prefix – Mail ID Session 8 - Reserve Words and ConditionalSlide 14

Reserved Words – #PREFIX# Using #PREFIX# reserve words, the effective date value coule changed and used in the Test Prefix – Eff. Date Session 8 - Reserve Words and ConditionalSlide 15

Object Type – Conditional Conditional logic enables PTF it to take action based on fulfillment/non- fulfillment of a condition. Action ‘If_Then’ – Validate the given Condition Action ‘End_If’ – Close the Statement of ‘If_Then’ Between the above two statements, the set of steps which can be executed when the condition is correct. ret=&variable - returns the value of the field acted upon into the variable. ‘Else’ is not available. Nested condition cannot be performed. Online Page Field cannot be used to compare the value. Value should be retrieved from the Field name and assign it to Variable. Session 8 - Reserve Words and ConditionalSlide 16

FLOWCHART OF CONDITIONAL LOGIC PTF Steps True Condition False Steps Executed Rest of PTF Steps Session 8 - Reserve Words and ConditionalSlide 17

Steps to add Conditional Logic Record the test and save it Go to the Test Editor and insert a new row Make a note of the field which needs to be verified Type/Exist – to verify the field/button etc. Under recognition, give the field name followed by ret=&var (Returns value to Variable) Conditional/If_Then – to apply a condition to the variable Enter the action to be performed in the next row, if the conditional holds true Conditional/End_If – to end the conditional Session 8 - Reserve Words and ConditionalSlide 18

Online Page – Conditional Concept: Special steps based on the information gathered from the application during a test If the work location code is blank then it is filled Session 8 - Reserve Words and ConditionalSlide 19

Object Type – Conditional Concept: How to use the Object Types,Actions : Conditional,If_Then,End_If Conditional If Then &Var=/<> Value &x1 = ‘075’ Conditional End If Session 8 - Reserve Words and ConditionalSlide 20

Object Type – Conditional Concept: Syntax for If_Then How to use the Object Types,Actions : Conditional,If_Then,End_If If_Then supports these logical operators: <>, >=,, <, = Format/Syntax Conditional.If_Then Enter Condition in Recognition Column. Session 8 - Reserve Words and ConditionalSlide 21

Log – Conditional Session 8 - Reserve Words and ConditionalSlide 22

Business Usage – Conditional The following are examples of various business cases where the conditional logic has been used in PTF: While hiring a person, on entering his name, if duplicate names are found, then a message pops up which is tackled through conditional logic. While modifying the Job Code in Job Data of a Person, if the Job Code has a Union Code, then other Union fields such as Union Seniority Date are filled. Session 8 - Reserve Words and ConditionalSlide 23

Training Hand out the Training Material To be completed in 30 minutes Discussion Walk through the Log Explaining the log Results Highlight the Key words and lesson learned Session 8 - Reserve Words and ConditionalSlide 24

Q & A and Comments Session 8 - Reserve Words and ConditionalSlide 25