How to automate that test cases means whether should I create only 
one(single) test n create different 

Answer - Don't create single test for all test cases. Debugging, running & 
maintenance will be difficult. Find out common features like login, logout 
etc & create reusable function for common features. 
 
functions/ Actions for different test cases = As you have a small number of 
test cases, you can go for Actions.
OR
Create separate test for each test cases = Create single test as suite & 
separate Action for each test cases within test.
OR
Create class n functions within it and access them from test = Don't go 
classes, creation effort will be too much. Create reusable functions.
OR
While writing script which option should use either OR or DP = Go for 
shared OR

Cheers,
automation.lifegoeasy.com
On Thursday, 11 April 2013 10:56:16 UTC+5:30, Pankaj d wrote:
>
> I am very confusing while automating my application
>
> I have small web application which I want to automate using QTP n VB 
> Script.
> I have 15-20 test cases which I want to automate but I don't understand 
> how to automate them
> I have following queries
> How to automate that test cases means whether should I create only 
> one(single) test n create different 
>
> functions/ Actions for different test cases 
> OR
> Create separate test for each test cases
> OR
> Create class n functions within it and access them from test
> OR
> While writing script which option should use either OR or DP
>
>
> -- 
>
>
> ---
> Regards,
> *PANKAJ *
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to