Automating QTP Test Automation Home Automation Articles Downloads QTP Gotchas Links Books Contact About Site Map
Coding StandardsIt's not too important what your precise coding standards are, as long as you have them. Trends come and go, I used to use long datatype prefixes like 'int', 'str', 'obj' etc. These days I use the following variable prefixes: s = Stringi = Integers/Longs d = Dates b = Boolean n = Non-integer numerics m = Money o = Objects a = Arrays I also prefix generic function libraries with a '_' that way, when you want to add a function library resource to your test, all the generic ones appear first in the list. And don't forget my weird function names. |