Functions and localization in QTP
Can we make functions in QTP so that we can use them in the script directly instead of writing the same code again and again.
if yes, please tell me how and explain me with one example.
My other problem is that i am doing the automation of the webpage which is very much dynamic in nature so i need to remove all the localization from my script and have to capture all the variable at runtime.
So can anybody suggest me how i can do this with one example of attaching IE window at runtime.
Re: Functions and localization in QTP
in relation to your 1st question - please read the manual with respect to .vbs files
with your second question you may want to look at:
finding object properties which are not localised
persuading the developers that these are required
html_id is a really good one if you can get them to implement it properly - ie it stays the same from release to release and from localisation to localisation