Suppose Object name was changed in the application in the
second build.I have just modified the name in the Object
repository as changes in the Application.
Is it possible to accure changes in the script accordingly?
If so
Suppose I am calling the script through function,
Will the changes affect in the script(which is in the
function)automatically?
If not affected, tell me the solution,How to handle this.
How should I change the object property name while using
functions

Answers were Sorted based on User's Feedback



Suppose Object name was changed in the application in the second build.I have just modified the na..

Answer / sundar

Hi Friends

if we change the object name in the object
Rep,automatically cahnges will affected in Script also

it will be work in both Local and shared object Rep

does it make sense?

Is This Answer Correct ?    2 Yes 1 No

Suppose Object name was changed in the application in the second build.I have just modified the na..

Answer / amarendra kothuru

The script/code on Function will not be reflected
automatically. So you have to change the logical name of
the object in your functions manually.

This is only the possibility to modify the script.

This case, Better to use descriptive programming.

Is This Answer Correct ?    2 Yes 1 No

Suppose Object name was changed in the application in the second build.I have just modified the na..

Answer / rayudu

I am asking that When we call the script through function,
what will happen?

Is This Answer Correct ?    0 Yes 0 No

Suppose Object name was changed in the application in the second build.I have just modified the na..

Answer / shaik

Yes ,When a Object Property Changes (I,E in OR) .You need to
change the property of the object in the Function also.Then
only it will it will identify the object with that logical name.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

what type of framework u r using in ur organization

0 Answers   Wipro,


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


How to use conditional loops in qtp ?

0 Answers  


Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


Can any body tell me how can I choose the share object repository and per action object repository mode. Please give me with steps.

4 Answers  


What are benefits of qtp?

0 Answers  


now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH

1 Answers  


Explain about reusable actions?

2 Answers  


How to create runtime property for an object?

7 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers  


Why we have to split actions in a test?

4 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


Categories