Hai anyone please "Explain about Framework in QTP?"

Answer Posted / firoz shaik

A framework is a set of guidelines, concepts , practices
that provide support for automated software testing.

The advantage of framework is it provides an easy way of
doing the work with less time.

There are 4 types of frameworks available:
1. Record and playback framework
2. Keyword driven framework
3. data driven framework
4. Modularity driven test framework

2. Keyword driven means, It consists of 5 types of files.
1. control file, test case file, startup file, driver
script, and utility script. This i cant explain because i
have no time to type all these things. if you want you can
mail me.
3. In data driven framework, we will take input from one
input excel file, and process the input in the script and
send the result to the same excel file.
In this framework, we can take the data through excel
file, .csv file, ADO, DAO(Data Access Objects).....
ADO means ActiveX Data Objects. This is the current and
latest method of retrieving the information from the
databases.

4. Modularity driven means, we divide the script into
different modules and acheive the task. this becomes easy
for the person to read and understand the script. modular
means, In C language, we divide the code into functions. In
the similar fashion, here also we divide the script into
function libraries i.e, in the form of VBS files.

If you need any further information, you can mail me.
I think that this information is absolutely true to the
best of my knowledge, and if i am wrong please let me know.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1425


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1525


What is QTP scenario.

1734


What is quick test pro? What is a quick test professional?

556


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1425






what r the main attributes of test automation?

1480


Can we create user defined functions in qtp?

561


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1571


What is regular expression?

581


How to find Operating system information using QTP script?

578


Hi guys, Our company has started to automate testing and started using the tool QTP.Iam new to QTP and I have the following questions to ask. Would appreciate if anyone could give me a hand on this and explain things in a detailed way. [1] Bugs outside checkpoints: I know that I can easily make the QTP do what I want inside the application. Also, I know that I can insert some checkpoints and that the qtp will notice if those conditions are not met. However, there are bugs and problems that might not be connected to a checkpoint (system crash, database error, losing session/logout etc.); how can I make sure that the QTP will notice such problems as well and flag a test as failed. [2] How to tell the QTP that when a particular statement is "false",it should flag it as, test failed and show in in the test report. In short how to tell the qtp that a test is false from the script so that it shows it in the report For Eg:- if(true) test passed // how to instruct qtp else test failed // how to instruct qtp [3] Test script portability: we are having several environments; If I record a test on User Interface, obviously, the qtp will save the URL; however, how can I make the qtp run the tests so that the url is provided dynamically. Is there a possibility to parameterize the web server.Is this the way to do it.I dont know? [4] Test management: How do I manage the tests? I guess we will be doing it in Quality Center, yet, it’s not perfectly clear to me how we will be doing that. [5] Running scheduled test sets: How do I group tests to a certain test set? How can I make this test set run at a predefined time? [6] Test maintenance: What do we need to do beforehand in order to enable for easy test maintenance, meaning small adjustments in tests? [7] Reports: What kind of reports on test results are available (either QTP or Quality Center)? Thanks in advance and hoping for an answer. Jen

1479


How to test results for qtp ?

789


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1639


what is the difference between IE & Netscape in web testing on a log in page

1798


How to write business scripts using object repository with different scenarios

1390