can u explain about QTP Frameworks? what are the framework
types are available? and How to set or create frame work for
a application? Explain briefly?(Also give me one example)
Answer / sangeeta
Framework is some set of guidelines followed in automation
projects to achieve better
readability,maintainability,scalability and reusability.
There are following types of frameworks:
1)Data driven framework
2)Functional decomposition framework/modular framework
3)keyword driven framework.
4)Linear Framework.
5)Hybrid framework.
6)Business Process Framework.
to create a framework you need to create a driver file which
drives the complete framework activity.
the flow of a hybrid framework will be like this
driverfile->initialize global variables->launch qtp and does
settings->launch application->opens the regression suit and
checks the status of test scripts and runs the
scripts->associate OR and library files->takes the required
data->performs action on application and stores the
result->at the end closes all the instances and send mail.
| Is This Answer Correct ? | 0 Yes | 0 No |
How Does Run time data (Parameterization) is handled in QTP?
Explain how Does Run time data (Parameterization) is handled in QTP?
I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
What is the significance of “action 0” in qtp?
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
where is the bitmap checkpoint be saved
What is error handled other than recovery scenario manager?
Give a comment on Regular Expressions using QTP?
i'm using QTP 8.2. A person using QTP 9.0 sends me a QTP TestScript, same when i try to open , an error comes "unexpected file format". Why?? and how to resolve the problem??
What is the diffrence bettween QTP 9.0 and QTP 9.1?
now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH