what is the framework followed by ur company in qtp

Answers were Sorted based on User's Feedback



what is the framework followed by ur company in qtp..

Answer / murali raju

framework is like a folder architecture.make it one folder
for one project.In that folder so many subfolders are
there...like scripts for one folder,object repository for
one folder,functions for one folder,test data for one
folder,test results for one folder,Recovery senarios for
one folder.

Script folder contains ---------> .MTS files
OR folder contains ------> .TSR or .BDB or .MTS
Function folder contains -------> .VBS or .TXT files
Test Data folder contains -------> .XLS or .XML or .TXT
Test Result folder contains --------> .XML or .XLS files
Recovery Folder contains --------> .QRS files

The above all extensions of the appropriate
files..all project related files put in one folder...ok..na

Is This Answer Correct ?    3 Yes 2 No

what is the framework followed by ur company in qtp..

Answer / satyanarayana

In my company we are using datadriven and keyword driven
frame work.
which means it is hybrid frame work.

The process followed is

first of all we have to create the required folder structure.
And then we prepare our scripts .After this we enhance our
scripts using parameterisation,recovery scenarios etc.Then
we save the scripts in script files using .mts
extension.Repository files using .tsr extension,library
files with .vbs extention,recovery files with .qrs
extension.Then we take new test and associate all the
required files to the current test. Then using datatable we
will mention the key words in it.Then in qtp test pane we
write the required script and we will execute the script
using the functions prepared in library files based end to
end scenario.

Is This Answer Correct ?    1 Yes 0 No

what is the framework followed by ur company in qtp..

Answer / sravan

First of all framework is the architecture for creating
Automated scripts.

There are four types of frameworks
Key word driven framework - tool dependent for ex QTP
keyword view

Test modular framework - modular in the sense you break
entire funtionality in to modules so that change requests
can be easily incorporated and can also make actions or
functions reusable

Data driven framework - this framework is used when ever
large data input is used to control the flow of the
application for ex if you have required fields in the
application and next page is displayed based on the data
you enter in the first page,

Test library framework: this is again kind of modular
framework but instead of creating code in the script,
library files and dll files are created and included in the
script

Hybrid test framework: a combination of all the above
frameworks is considered as Hybrid.

Is This Answer Correct ?    1 Yes 0 No

what is the framework followed by ur company in qtp..

Answer / gaurav gupta

Framework is architecture you are using to make the QTP
script. It can be many type like Data driven, Using
Reusable functions and some more....but usually most of the
companies follow hybrid (combination of all the all the
framework) as per the need.

Is This Answer Correct ?    0 Yes 0 No

what is the framework followed by ur company in qtp..

Answer / saff

satyanarayana thanks alot for ur answer

and all other guys plz read the question and answer

the question is not to define the framework

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?

1 Answers   TCS,


what is the use of automation objective model?where is used? plz tell me

2 Answers  


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

0 Answers  


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.

2 Answers   TCS,






How do you script a nested loop in QTP? I am showing a snipet of my code. Any suggestions to help me get this to work would be great appreciated! STEP A - Customer Number: No loop - ISBN: Loop STEP B - Customer Number: Loop - ISBN: Nested Loop Here is the code I am using now. I am using i for the loop and j for the nested loop in STEP B of my script. =========================================== 'CREATE AN ADDITIONAL CUSTOMER Dim myNum, RowNum, RowCnt2, val2, total, i DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" RowCnt2 = DataTable.GetRowCount i = 1 DataTable.SetCurrentRow(i) ' Set row to one Do while Not i > RowCnt2 i=i+1 DataTable.SetNextRow MsgBox Datatable.Value("Customer_Num") Msgbox i Msgbox RowCnt2 If Not i > RowCnt2 then val2=datatable.Value("Customer_Num","Global") OracleFormWindow("Sales Order").SelectMenu "File->New" OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Order Information").OracleTextField("Customer Number").Enter val2 End If 'CREATE SECOND ISBN LIST DataTable.ImportSheet "C:\QOE Data - UAT1.xls" ,"Data" ,"Global" Dim j, RowCnt3, val3 RowCnt3 = DataTable.GetRowCount For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) ' datatable.getSheet("DataTable").setNextRow If Trim(DataTable("ISBN",dtGlobalSheet)) = "" Then j = j - 1 Exit For End If Next 'Define ISBN rows If RowCnt3 <> j Then RowCnt3 = j End If 'Loop through ISBN rows For j = 1 To RowCnt3 DataTable.SetCurrentRow(i) val3 = Datatable.Value("ISBN","Global") msgbox j If j = 1 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item").Enter val3 else If j < 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_"&i).Enter val3 else If RowCnt1 => 16 Then OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").InvokeSoftkey "DOWN" OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").SetFocus OracleFormWindow("Sales Order").OracleTabbedRegion("Line Items").OracleTextField("Ordered Item_15").Enter val3 end if end if End If Next 'EXIT APP msgbox i loop Browser("Browser").Page("Oracle Applications 11i").Sync Browser("Browser").Close ========================================== It isn't working correctly in my nested loop in STEP B (for ISBN). Any ideas?? Thanks! SBsteve

0 Answers  


WHAT IS THE FUNCTION (HOW TO DO) THE BATCH TESTING IN TEST DIRECTOR USING MANUAL TESTING PROCEDURE?

1 Answers   CTS,


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


how to use the QTP choose the data from oracle&#65311; e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

0 Answers  


I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .

0 Answers  


Why is action split used by qtp?

0 Answers  


what do you call the window testdirector-testlab?

1 Answers  


Categories