How to get list of methods and parameter info for UFT test objects into CSV?
We are in the process of wrapping up methods of web test objects and I'm wondering if we can get full list of methods and parameters into CSV, so that to cover useful ones?
For example - A utility to get all methods available for WebEdit, say Set,SetSecure, WaitProperty(property,expected value,timeout) and so on with parameter info(mandatory/optional)
1. Checking the QTP registry, however methods are spread across different keys and might not get accurate info.
2. Checking help file to manually copy/paste but not the elegant approach.
Anand there must be a collection somewhere which the object spy uses to list the methods available for a spied object.
I thought the registry would provide this from what I can remember when researching but that was a long time ago and from what you say I guess this is no longer true.
I'm not sure the info in the compiled html help pages would be easily be extracted an assembled to give you something better than you would get from the registry.
I have a spreadsheet somewhere from the exercise I did above, if I can find it I will post it here.
Thank you very much for your response! I believe QTP uses registry info to list down those methods for Generate statement,intellisense and object spy just like properties(though at the single location under micTest entry). Do share your excercise, if possible. Thanks in advance.
Tags for this Thread