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

If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?

3 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 Answers  


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?.

0 Answers   Logix,


Give the syntax to load function at run time.

0 Answers  


what is the difference between built-i function and In-built function?

0 Answers  


QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?

1 Answers  


I am testing a Website thelancet and create a description for searching "health" in search edit box.But my description failed on last two lines.Can anybody solve this

1 Answers  


what is debugging testing?

5 Answers  


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


Maximum synchronizing time out in QTP

3 Answers   Kanbay,


In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?

14 Answers   Polaris,


What is Distributed testing? How does UFT support it?

0 Answers  


Categories