Advantages of Descriptive Programming
1. Version Free: Script can be executed in any version of
QTP without any changes.
2. Code Portability: Just code is enough to run script. We can copy and paste in other scripts for any other new requirement.
3. Reusability of Properties: We can assign properties to a global variable and reuse it for same type of objects.
4. Plug & Play: Any time scripts will be in ready to run state. No need to worry about any other settings or files.
5. Just Maintenance of variables: Store the object properties in the form of variables in a txt / vbs file, need to maintain the file.
2. Code Portability: Just code is enough to run script. We can copy and paste in other scripts for any other new requirement.
3. Reusability of Properties: We can assign properties to a global variable and reuse it for same type of objects.
4. Plug & Play: Any time scripts will be in ready to run state. No need to worry about any other settings or files.
5. Just Maintenance of variables: Store the object properties in the form of variables in a txt / vbs file, need to maintain the file.
Comments
Post a Comment