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

Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .

1 Answers   First Europa,


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


Write a function which returns the addition of two numbers. give the value of the numbers outside the function.

3 Answers   SAP Labs,


how u write vb script in qtp pls give me some basic script and some material

32 Answers   Datamatics, UHG, Winit,






can we use QTP for load testing instead of load runner?

3 Answers  


How to handle Run-time errors?

2 Answers  


when do we write a script in qtp?(plz give me more then 2 reasons)

1 Answers  


Hi, Is there any function or vbscript in QTP to clear the cookies,sessions. Please help me in this.

6 Answers  


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

0 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail. Could you please any assist in this?

2 Answers  


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


Categories