Escolar Documentos
Profissional Documentos
Cultura Documentos
Course Objectives
After completing this course, you should be able to:
Understand how to use Quality Center effectively Understand the Role of Tools in Testing Activities Prepare Test Data for Tests Understand the basics of RDBMS and SQL Understand the basics of VB Scripting
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
Types of Test Tools Effective use of Test Tools Introducing a Tool into an Organization
10
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
11
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
12
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
13
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
14
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
15
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
16
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
17
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
18
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
19
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
20
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
21
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
22
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
23
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
24
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
25
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
26
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
27
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
28
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
29
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
30
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
31
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
32
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
33
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
34
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
35
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
Identification of the areas within the organization where tool support will help to improve testing processes. Evaluation of tools against clear requirement and objective criteria. Proof-of-concept to see whether the product works as desired and meets the requirements and objectives defined for it. Evaluation of the vendor or open-source network of support. Identifying and planning internal implementation.
Including coaching and mentoring for those new to the use of the tool
36
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
To decide on standard ways of using the tool that will work for all potential users.
E.g. naming conventions, creation of libraries, defining modularity.
37
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
38
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
Reference
ISTQB Glossary of terms used in Software Testing Version 1.0 Foundations of Software Testing by Dorothy Graham, Erik Veenendaal, Isabel Evans, Rex Black Software Testing in Real World By Edward Kit Introducing Software Testing By Louise Tamres Software Engineering By Roger Pressmen Software Testing By Ron Patton Effective Methods of Software Testing By William Perry Lessons Learned in Software Testing By Cem Kaner, James Bach, Bret Pettichord Wikipedia
39
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
40
41
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
Database Basics
42
Database Basics
Topics Covered in this lesson are:
RDBMS Concepts Introduction to Basic SQL statements Ordering of Rows SQL Functions Joins Data Definition Language DML statements
43
RDBMS Concepts
Please refer to the following Websites:http://en.wikipedia.org/wiki/Relational_database http://www.tutorialspoint.com/sql/sql-rdbms-concepts.htm
44
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
SQL Basics
Please refer to the following training material: (attached file)-
SQL-Bascis.doc
45
2009 Wipro Ltd - Confidential 2010 Wipro Ltd Internal & Restricted
VB Scripting
46
VB Scripting
Topics Covered in this lesson are:
Syntax Constants Errors Functions Keywords Methods Operators Statements
47
Overview of VB Script
VBScript is a Microsoft scripting language. VBScript is the default scripting language in ASP. A scripting language is a lightweight programming language VBScript is a light version of Microsoft's programming language Visual Basic VBScript is only supported by Microsoft's browsers (Internet Explorer) VBScript uses the Component Object Model to access elements of the environment
VB Script - Constants
A constant is a meaningful name that takes the place of a number or string and never changes. There are number of useful constants built-in Vbscript. The various categories of constants in VBScript Color Constants Date and Time Constants Date Format Constants Miscellaneous Constants MsgBox Constants String Constants
Tristate Constants
VarType Constants
Constant Value Explanation vbGeneralDate 0 Display a date and/or time. Date and time display is determined by system settings. vbLongDate 1 Display a date using the long date format as per computer settings. vbShortDate 2 Display a date using the short date format as per computer's regional settings. vbLongTime 3 Display a time using the long time format as per computer settings. vbShortTime 4 Display a time using the short time format as per computer's regional settings.
Constant vbObjectError
Value Description -2.147E+09 User-defined error numbers should be greater than this value, for example, Err.Raise Number = vbObjectError + 1000
Value Explanation Chr(13) Carriage return. Chr(13) & Chr(10) Carriage returnlinefeed combination. Chr(12) Form feed; not useful in Microsoft Windows. Chr(10) Line feed. Chr(13) & Chr(10) Platform-specific newline character; whatever is or Chr(10) appropriate for the platform. vbNullChar Chr(0) Character having the value 0. vbNullString String having value Not the same as a zero-length string (""); used 0 for calling external procedures. vbTab Chr(9) Horizontal tab. vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows.
Value
-2
-1 0
Constant vbEmpty vbNull vbInteger vbCurrency vbDate vbString vbObject vbError vbBoolean vbVariant
vbDataObject vbDecimal vbByte vbArray
Value 0 1 2 6 7 8 9 10 11 12
13
Description Uninitialized (default) Contains no valid data Integer subtype Currency subtype Date subtype String subtype Object Error subtype Boolean subtype Variant (used only for arrays of variants) Data access object
VB Script - Errors
The Error that occur during the execution are classified into : VB Script runtime errors VB Script syntax errors
VB Script - Functions
VB Script supports some well/pre defined functions for easy manipulations. Below pointers are some of the important functions.
VB Script - Keywords
Function
Value Return
Example
Empty
Used to indicate an uninitialized variable value. A variable value is uninitialized when it is first created and no value is assigned to it, or when a variable value is explicitly set to empty.
Nothing Null
Set Used to indicate an uninitialized object value, ExcelOb=CreateObject(Excel.Application) or to disassociate an object variable from an object , to release the system resources Set ExcelOb=Nothing.
VB Script - Methods
Function
Value Return
Example Object.clear, On error resume next ; err.raise=6 ; err.clear ; msgbox err.number will return 0.
Clear
Replace Method
Execute
object.Execute(Str) -, Example : Var1 = 1,Var2 = 2;Execute("Var1 = Var2 + 3") Response.Write (Var1) will print 5.
VB Script - Operators
VBScript's operators can be separated into four semi-distinct categories Math Operators
Operator + * / ^ mod
Result 2 1 16 2 8 1
Comparison Operators
Operator = > < >= <= <> English Equal to Greater than Lesser than Greater than or equal to Lesser than or equal to Not equal to Example 10=11 10>9 9<8 4>=2 2<=3 4 <> 3 Result False True False True True False
English
Connected to
Example
Wipro&Technolo gies
Result
Wipro Technologies
Logical Operators
Operator AND OR NOT English Both must be true Either on must be true Inverse of Truth Example True and True True and False Not False Result True True True
A For Each...Next loop repeats a block of code for each item in a collection, or for each element of an array.
Do While i>5 The Do...Loop statement repeats a block of code 'some code Do...Loop statement while a condition is true, Loop If i=4 , it will never get executed , if or until a condition becomes true. i=7 it will get executed until the some code part return a value less than 5 i=4 ,While i<5 msgbox "printed" i=6 Wend will print printed once in a message box.
While...Wend statement
If statement
If...Then...Else statement
If...Then...ElseIf statement
Dim MonthInt, MonthInt=2 Select Case(MonthInt) Case 1 msgbox January Case 2 msgbox February Case else msgbox Enter either 1 or 2 End Select