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
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 |
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 |
Answer / rayudu
I am asking that When we call the script through function,
what will happen?
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
what type of framework u r using in ur organization
How u do the back end testing in QTP?
How to use conditional loops in qtp ?
Tell me the difference between QTP9.2, QTP9.5 and QTP10.0
Can any body tell me how can I choose the share object repository and per action object repository mode. Please give me with steps.
What are benefits of qtp?
now a days which one is using all companies for qtpscript a)Object Repository based script b)Descriptive program based script c)BOTH
Explain about reusable actions?
How to create runtime property for an object?
Explain in brief about the QTP Automation Object Model.
Why we have to split actions in a test?
How to capture screenshots of Exceptions/Errors during run- time?