Recently I have published an eBook for learning Software Testing and QTP Automation.
One of review comments I got for this eBook is, Advantages of using Descriptive programming (DP)in QTP is missing in this eBook.
So, I am planning to add below things as advantages of Descriptive programming.
Please let me know if we can add any other advantage.
If you don't know what is Descriptive programming you can read below.
Instead of using Object Repository for storing properties of Test objects, we can straight-away define the properties while writing the script itself.
It can be done in two ways.
One is, by giving the description in form of the string arguments.
For example a text box having html code as <input type="text" name="txtUser"> can be accessed as below.
The other way is using Decription.create as below.
You can read my previous article to know the disadvantages of this Descriptive approach.
Click here to buy eBook useful for learning Software Testing and QTP Automation.
You can bookmark this blog for further reading, or you can subscribe to our blog feed.