How to modify object property in QTP ?

Answer

  • You may have observe that smart identification slows down script execution which is not desirable
  • To avoid smart identification , we can change the default object identification properties
  • In QTP , Object Identification , lets remove "name" from the mandatory properties and replace it with "html id" to make our test independent of name changes
  • You can re-record the same steps for the script
  • Now if you change the name from"Submit" to "Login" and run the script the script executes without any smart identification
  • Similarly , in your application under test if any of the mandatory or assistive properties change frequently for an object you can replace it with some other suitable property  to enable faster script execution
  • Property tweaking is an experience game field and you will pick it up as you age with the tool

All qtp Questions

Ask your interview questions on qtp

Write Your comment or Questions if you want the answers on qtp from qtp Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---