What is the diff between doing parametarisation using Data
Driven wizard or manually. when do we go for manual
para...and when do we use Data driver wizard..can anybody
answer it ..Thanks in advance

Answer Posted / sreekanth

For manualparametrisation you need to wite the Vb script
manually
see the script for flight login application

datatable.AddSheet "sree"
datatable.ImportSheet "abc.xls,sheet1,sree"
k=datatable.GetSheet("sree").getrowcount
For i=1 to k
SystemUtil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set datatable
("name","sree")
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure
datatable("pwd","sree")
Dialog("Login").WinButton("OK").Click
Next



for datadriver there are two ways
1.Tools->Data driver->Parametrise (in parametrise dialog you
can parametrise selected objects)

2.Go to keyword view
just there is a icon located at the corner of each object
just click on that icon there is a option like parametrize
by using tht option u can parametrise by using data driver.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is regular expression?

588


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2748


When Recovery scenario actually starts while testing the application?

1554


How can we conduct U-I Testing by using QTP??????

1435


Hello friends..... On which areas of an application we can not test with QTP

1567






If the objects hierarchy is changing from build to build, then how you will handle that condition?

623


What are main panes available in qtp test browser?

547


How to handle dynamic objects in quicktest professional (qtp)?

554


What are the types of object repositories? Which one is you using?

627


what QTP Options do you know?

2933


What is keyword view?

566


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

1677


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1439


How to capture a window in QTP?

1532


How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?

2229