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 |
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
How can you write the scripts that operate on different objects depending on run-time information?
when will you do debug your script? and explain that process?
explain keyword driven framework with banking domain?
What is smart identification?
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
How can you close the second opened browser?
Pls explain me the difference between ........ Description.Create and CreateObject
Hi ,Can any one pleas explain how to test splash objects using QTP?
What is the limitation to XML Checkpoints?
What is the difference between run time object and test object?
what is the another name for blackbox testing?