ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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

 Question Submitted By :: Rayudu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
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 ?    1 Yes 1 No
Sundar
 
  Re: 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
Answer
# 2
I am asking that When we call the script through function, 
what will happen?
 
Is This Answer Correct ?    0 Yes 0 No
Rayudu
 
 
 
  Re: 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
Answer
# 3
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 ?    1 Yes 0 No
Amarendra Kothuru
 
  Re: 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
Answer
# 4
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 0 No
Shaik
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to make arguments optional in a function? Liquid-Crystal2
Where virtual objects stores results?  4
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
how we can do web browser using parametarisation in QTP ? Kanbay2
What is parameterization? What is syncronization pt.? Semantic-Space3
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.  2
Can we create test script with out Step Generator?  4
write vbscript on veb applications in qtp with exapmles?  1
what is aregular expression? UHG4
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts? IBM1
What the differences are and best practical application of each.  1
how i can delete the excel process for the task manager using QTP  2
I want to test advanced Java applications what kind of add- ins I have to install?  1
1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that) Synechron2
How can I test the unix shell in QTP Persistent1
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
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.  2
how to recall a function in QTP? Ordain-Solutions3
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications) Xansa6
Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results. Cap-Gemini1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com