From Earlier , the Mercuriy interactive Company have the owenership for QTP from 6 version. then its under by QTP after version 9
QTP 11 features
-> Supports Silver light Application
-> Test Result Summary doc new look
-> Support FireFox Browser if installed batches
-> Win7 supports with out any problem'
Drawback of manual testing
Time Consuming
More no of Employee
Not Accurate
Resgress or restest is more time Consume
When we go for Automation or how to decide the application should automation
1) How big the application ( If have more functionality to test )
2) When the application is stable. All the requirements are implemented in web application.
3) for Regression testing
4) Testing the Functional or non-Functional testing
Functional Testing tool
QTP
Silk test
selenium
Non functinal test
Win runner
load runner
Jmeter
QTP IDE ( Integrated Development Environment )
Experview and Keyword View
white page - Test pane window wher we writing the script
We are using Vb Scripting for give instruction to QTP
Expert View - see the Vb Script format
Keyword View - The same above script we can see as Graphical Representation
View menu
1) Active Screen window
If we run the script on any application. The Active Screen shows Screen shots of that application.
2) Datatable
This is an Excel Sheet where we can store Test data
3) Debug Viewer
This is assist us for bebug our scripts. To debug the syntex error, Run time Error.
For viewing syntex Error Tools-> Check Syntax or Press CTRL+F7
4) Missing Resorces Pane
If we are using some Excel file in test script and use that data from Excel,
But if fails to attched the Excel file in Environmant variable that time this pane shows the details in Mising Resources pane.
5) Informtion pane
Its shows information about if any syntax error in Test script
6) Test Flow
Its shows the information about the test flow.
Record and Playback
F3 or Automation-> Record
Record the test process and play back
or we can write the teatcase manually and play back
Explain Vb Script
All the VB Script statements contains below three part
1) Hierarchy ( Parent - Child Relationship)
2) Method or Operation ( What operation we made on objects)
3) Value ( value for the objects)
EX
Dialog("login").WinEdit("Agent Name:"). Set "Arunrajvdm"
Here below are values
Hierarchy = Dialog("login").WinEdit("Agent Name:")
Method = Set
Value = Arunrajvdm
Object and Object Class
All Objects are categarized and belongs to one object Class.
Ex: If dog is objct, Animal is object Class
Object Class Object
WinEdit -> Edit box, Check Box
WinButton -> ok, cancel
Dialog -> Any pop up in window
EX
Dialog("login").WinEdit("Agent Name:"). Set "Arunrajvdm"
Syntax : ParentObjectClass("Name"). ChildObjectclass("Name").Operation "value"
If you need to reach any object in application. we should know the Hierachy of the object. The Hierarchy of above code is
Hierarchy = ParentObjectClass("Name"). ChildObjectclass("Name")
If you need to do some operation on object, we should know the operation or moethod
Methods = Set
If you need to assign any value into that object, set the value
Value = "Arunrajvdm"
Basic method for the objects
WebEdit = Set
WebButton = Click
WebList = Select
QTP 11 features
-> Supports Silver light Application
-> Test Result Summary doc new look
-> Support FireFox Browser if installed batches
-> Win7 supports with out any problem'
Drawback of manual testing
Time Consuming
More no of Employee
Not Accurate
Resgress or restest is more time Consume
When we go for Automation or how to decide the application should automation
1) How big the application ( If have more functionality to test )
2) When the application is stable. All the requirements are implemented in web application.
3) for Regression testing
4) Testing the Functional or non-Functional testing
Functional Testing tool
QTP
Silk test
selenium
Non functinal test
Win runner
load runner
Jmeter
QTP IDE ( Integrated Development Environment )
Experview and Keyword View
white page - Test pane window wher we writing the script
We are using Vb Scripting for give instruction to QTP
Expert View - see the Vb Script format
Keyword View - The same above script we can see as Graphical Representation
View menu
1) Active Screen window
If we run the script on any application. The Active Screen shows Screen shots of that application.
2) Datatable
This is an Excel Sheet where we can store Test data
3) Debug Viewer
This is assist us for bebug our scripts. To debug the syntex error, Run time Error.
For viewing syntex Error Tools-> Check Syntax or Press CTRL+F7
4) Missing Resorces Pane
If we are using some Excel file in test script and use that data from Excel,
But if fails to attched the Excel file in Environmant variable that time this pane shows the details in Mising Resources pane.
5) Informtion pane
Its shows information about if any syntax error in Test script
6) Test Flow
Its shows the information about the test flow.
Record and Playback
F3 or Automation-> Record
Record the test process and play back
or we can write the teatcase manually and play back
Explain Vb Script
All the VB Script statements contains below three part
1) Hierarchy ( Parent - Child Relationship)
2) Method or Operation ( What operation we made on objects)
3) Value ( value for the objects)
EX
Dialog("login").WinEdit("Agent Name:"). Set "Arunrajvdm"
Here below are values
Hierarchy = Dialog("login").WinEdit("Agent Name:")
Method = Set
Value = Arunrajvdm
Object and Object Class
All Objects are categarized and belongs to one object Class.
Ex: If dog is objct, Animal is object Class
Object Class Object
WinEdit -> Edit box, Check Box
WinButton -> ok, cancel
Dialog -> Any pop up in window
EX
Dialog("login").WinEdit("Agent Name:"). Set "Arunrajvdm"
Syntax : ParentObjectClass("Name"). ChildObjectclass("Name").Operation "value"
If you need to reach any object in application. we should know the Hierachy of the object. The Hierarchy of above code is
Hierarchy = ParentObjectClass("Name"). ChildObjectclass("Name")
If you need to do some operation on object, we should know the operation or moethod
Methods = Set
If you need to assign any value into that object, set the value
Value = "Arunrajvdm"
Basic method for the objects
WebEdit = Set
WebButton = Click
WebList = Select
No comments:
Post a Comment