12-07-2012, 04:04 AM
Hey gurus,
So I am handed a CD with all our 'QTP Scripts' on it.
Turns out, there is exactly one test case which has one action, which calls a function that runs a giant .vbs script, which does all the work, running dozens of test cases. So in my 'Expert' view, I see basically one line of code.
In other words, QTP is just being used as a script-running program.
I'm new to QTP, but I expected to see a different script for each test case, with each test containing a few dozen steps/actions/keywords.
Instead I have ONE script, that makes ONE function call, then that function runs all the tests.
Is this a waste of QTP, or am I just an ignorant beginner? (Which, yes, I know I am.)
If this is a waste as I suspect, what do I tell my boss? How do I describe to him what we are missing by doing it this way?
My gut tells me we are missing out on the power of QTP, but I don't know how to convey that to my boss, since I am too new to really understand what the power of QTP is!
Thanks for any help,
Random
So I am handed a CD with all our 'QTP Scripts' on it.
Turns out, there is exactly one test case which has one action, which calls a function that runs a giant .vbs script, which does all the work, running dozens of test cases. So in my 'Expert' view, I see basically one line of code.
In other words, QTP is just being used as a script-running program.
I'm new to QTP, but I expected to see a different script for each test case, with each test containing a few dozen steps/actions/keywords.
Instead I have ONE script, that makes ONE function call, then that function runs all the tests.
Is this a waste of QTP, or am I just an ignorant beginner? (Which, yes, I know I am.)
If this is a waste as I suspect, what do I tell my boss? How do I describe to him what we are missing by doing it this way?
My gut tells me we are missing out on the power of QTP, but I don't know how to convey that to my boss, since I am too new to really understand what the power of QTP is!
Thanks for any help,
Random