In key word driven framework,we will rename the logical
names of objects,why?

Answers were Sorted based on User's Feedback



In key word driven framework,we will rename the logical names of objects,why?..

Answer / basha

1) If we change the logical name of any object in OR (in
case , if the "name" property vale is changed in the
application) the change will be automatically replicated in
the associated script. next time onwards when we try to run
the same script , qtp will not craeate any prob.

2) If the logical name of any object is not understandable
clearly to the test script developer , and if the name is
so lengthy , in such situations also we change the logical
name of the object.

Pls correct me if i am wrong. this answer is my assumption .

Is This Answer Correct ?    1 Yes 0 No

In key word driven framework,we will rename the logical names of objects,why?..

Answer / ragasudha

Basha, your 1st point is wrong.
Scripts are not automatically updated, when the "name"
property value changes.

Your 2nd point correct.

Also whateever logical name is provided in OR, same should
be mentioned in Datasheet.

Is This Answer Correct ?    0 Yes 0 No

In key word driven framework,we will rename the logical names of objects,why?..

Answer / guest

Hi RagaSudha
What Basha said is exactly correct

If the script is opened and u modify the logical name of
the object automatically it will reflect in the script at
all instanses

and second point is also true to add to it, for naming
convention standards we generally modify the names

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the logic for reading(exporting)the data from flat files to QTP?Can anyone explain me with an example? I appreciate it!!! Thanks!!! Prasanna

1 Answers  


How to run a test using quicktest professional (qtp)?

0 Answers  


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

0 Answers  


How will you declare a variable in qtp?

0 Answers  


Is the qtp course will help to create a virtual object?

0 Answers  






In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

0 Answers  


How to map Test cases to the script? Please do anwser urgently?Thanks

3 Answers  


I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4

1 Answers  


what is framework and types of framework? Need of framework in automation? write folder strucuture of framework.

3 Answers   HealthAsyst,


hi Action 1 and action2 if we save it in C:, what folders will be created explain plz

3 Answers   iFlex,


Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?

2 Answers  


Categories