10-16-2009, 11:58 AM
Hi Ankur,
Thanks for you reply. I get what you are saying, but what will happen is that my script lines will be huge and there will be many validations in the script lines. Yes, I can assign them to variables and check the values, but is there a way to show in the script lines only what validation is being done? Like
would also contain that it is 'text validation' that is being done? Why I need such a thing is because I need to parse all the existing qtp scripts to store in my repository and they have just used checkpoints. I know using ROProperty would have been easier to parse but it has not been used in the script and so I need to stick with supporting the existing scripts first. I know this is asking too much, but is there some way to do this? Thanks a lot.
Thanks for you reply. I get what you are saying, but what will happen is that my script lines will be huge and there will be many validations in the script lines. Yes, I can assign them to variables and check the values, but is there a way to show in the script lines only what validation is being done? Like
Code:
bName = Browser("homepage").Page("User Login").WebEdit("sid").Check (CheckPoint("sid"))
would also contain that it is 'text validation' that is being done? Why I need such a thing is because I need to parse all the existing qtp scripts to store in my repository and they have just used checkpoints. I know using ROProperty would have been easier to parse but it has not been used in the script and so I need to stick with supporting the existing scripts first. I know this is asking too much, but is there some way to do this? Thanks a lot.