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 are the views available in quicktest professional (qtp)?
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page
How to write business scripts using object repository with different scenarios
explain qtp framework by taking an example?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
1. how can you handle exceptions without using recovery scenario?
how to know no.of mails in our g mail by using vb-script
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
By using QTP, How do you test a frame in a web page?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?