UFT Class 18 (Inserting Checkpoints Part -1)
-----------------------------
UFT Test Process
Enhancing Tests
Inserting Checkpoints
What is Checkpoint?
It is a verification point, takes expected effect from the User(Tester), compares amongst actual Results in addition to provides Test Result.
Types of Checkpoints (9 + 3)
1) Standard Checkpoint
It checks object properties values.
-------------------------------
2) Text Checkpoint
It checks text value of an object inwards dissimilar ways
------------------------------------
3) Text expanse Checkpoint
It checks text expanse acquaint inwards the Application inwards dissimilar ways
-----------------------------------
4) Bitmap Checkpoint
It compares 2 bitmaps
-----------------------------------
5) Database Checkpoint
It checks content of a Database Table jail cellular telephone wise.
-------------------------------------
6) Accessibility Checkpoint
It checks weather condition the spider web page was developed according to W3C standards or not?
---------------------------------
7) XML Checkpoint (From Application)
It checks content of XML page.
----------------------------------
8) XML Checkpoint (From Resource)
It checks content of XML file.
-----------------------------------
9) File content Checkpoint
It checks content of a text file.
------------------------------------
10) Page Checkpoint
It checks publish of Links, publish of images inwards a webpage in addition to creation fourth dimension of the Page.
-----------------------------------
11) Image Checkpoint
It checks Image object Properties in addition to values.
----------------------------------
12) Table Checkpoint
It checks content of a spider web tabular array jail cellular telephone wise.
----------------------------------------------
Note 1: from vi to 12 checkpoints (except File content in addition to XML (From Resource) checkpoints) are alone for Web applications
Note 2: From 10 to 12 Checkpoints are hidden Checkpoints, using Standard Checkpoint nosotros tin insert them.
Note 3: Database, File Content in addition to XML (From Resource) Checkpoints are Back-end Checkpoints
Note 4: We tin insert multiple Checkpoints inwards a Test.
Note 5: We tin Edit in addition to delete Checkpoints.
-------------------------------------------------------
We tin insert criterion checkpoints using Editor sentiment or Using Keyword sentiment or using Active screen.
Insert Standard Checkpoint:
Identify the Object in addition to Property on which nosotros require insert Standard checkpoint.
Select Record mode
> Design menu
> Checkpoint
> Standard Checkpoint
> Take mitt icon in addition to exhibit the object
> Select Property
> Enter expected effect > OK
---------------------------------
Edit Standard Checkpoint:
Select Checkpoint disceptation in addition to Right click
> Modify the value
> OK
------------------------------
Delete Standard Checkpoint:
> Select Checkpoint disceptation in addition to correct click
> Delete
--------------------------------------------------
Ex:
VbWindow("CALCULATOR").Activate
VbWindow("CALCULATOR").VbEdit("VALUE1").Set "10"
VbWindow("CALCULATOR").VbEdit("VALUE2").Set "20"
VbWindow("CALCULATOR").VbButton("ADD").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT")
VbWindow("CALCULATOR").VbButton("SUB").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_2")
VbWindow("CALCULATOR").VbButton("MUL").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_3")
VbWindow("CALCULATOR").VbButton("DIV").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_4")
VbWindow("CALCULATOR").VbButton("CLEAR").Click
--------------------------------------------
Configure Accessibility Checkpoint
Tools menu
> Options
> GUI Testing
> Web > Advanced
> Check / Uncheck cheque boxes
> OK
---------------------------------
Result Criteria:
Check especial available in addition to according W3C Standards in addition to thence pass
Check especial available in addition to Not according W3C Standards in addition to thence fail
Check especial Not available in addition to thence pass
----------------------------------------------
Sumber http://www.gcreddy.com/
-----------------------------
UFT Test Process
Enhancing Tests
Inserting Checkpoints
What is Checkpoint?
It is a verification point, takes expected effect from the User(Tester), compares amongst actual Results in addition to provides Test Result.
Types of Checkpoints (9 + 3)
1) Standard Checkpoint
It checks object properties values.
-------------------------------
2) Text Checkpoint
It checks text value of an object inwards dissimilar ways
------------------------------------
3) Text expanse Checkpoint
It checks text expanse acquaint inwards the Application inwards dissimilar ways
-----------------------------------
4) Bitmap Checkpoint
It compares 2 bitmaps
-----------------------------------
5) Database Checkpoint
It checks content of a Database Table jail cellular telephone wise.
-------------------------------------
6) Accessibility Checkpoint
It checks weather condition the spider web page was developed according to W3C standards or not?
---------------------------------
7) XML Checkpoint (From Application)
It checks content of XML page.
----------------------------------
8) XML Checkpoint (From Resource)
It checks content of XML file.
-----------------------------------
9) File content Checkpoint
It checks content of a text file.
------------------------------------
10) Page Checkpoint
It checks publish of Links, publish of images inwards a webpage in addition to creation fourth dimension of the Page.
-----------------------------------
11) Image Checkpoint
It checks Image object Properties in addition to values.
----------------------------------
12) Table Checkpoint
It checks content of a spider web tabular array jail cellular telephone wise.
----------------------------------------------
Note 1: from vi to 12 checkpoints (except File content in addition to XML (From Resource) checkpoints) are alone for Web applications
Note 2: From 10 to 12 Checkpoints are hidden Checkpoints, using Standard Checkpoint nosotros tin insert them.
Note 3: Database, File Content in addition to XML (From Resource) Checkpoints are Back-end Checkpoints
Note 4: We tin insert multiple Checkpoints inwards a Test.
Note 5: We tin Edit in addition to delete Checkpoints.
-------------------------------------------------------
We tin insert criterion checkpoints using Editor sentiment or Using Keyword sentiment or using Active screen.
Insert Standard Checkpoint:
Identify the Object in addition to Property on which nosotros require insert Standard checkpoint.
Select Record mode
> Design menu
> Checkpoint
> Standard Checkpoint
> Take mitt icon in addition to exhibit the object
> Select Property
> Enter expected effect > OK
---------------------------------
Edit Standard Checkpoint:
Select Checkpoint disceptation in addition to Right click
> Modify the value
> OK
------------------------------
Delete Standard Checkpoint:
> Select Checkpoint disceptation in addition to correct click
> Delete
--------------------------------------------------
Ex:
VbWindow("CALCULATOR").Activate
VbWindow("CALCULATOR").VbEdit("VALUE1").Set "10"
VbWindow("CALCULATOR").VbEdit("VALUE2").Set "20"
VbWindow("CALCULATOR").VbButton("ADD").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT")
VbWindow("CALCULATOR").VbButton("SUB").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_2")
VbWindow("CALCULATOR").VbButton("MUL").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_3")
VbWindow("CALCULATOR").VbButton("DIV").Click
VbWindow("CALCULATOR").VbEdit("RESULT").Check CheckPoint("RESULT_4")
VbWindow("CALCULATOR").VbButton("CLEAR").Click
--------------------------------------------
Configure Accessibility Checkpoint
Tools menu
> Options
> GUI Testing
> Web > Advanced
> Check / Uncheck cheque boxes
> OK
---------------------------------
Result Criteria:
Check especial available in addition to according W3C Standards in addition to thence pass
Check especial available in addition to Not according W3C Standards in addition to thence fail
Check especial Not available in addition to thence pass
----------------------------------------------