hi,
please help me in writing test cases..
i)How to write a Test case?
ii)Language usage in test cases
iii)How to prepare a good sample test case
Printable View
hi,
please help me in writing test cases..
i)How to write a Test case?
ii)Language usage in test cases
iii)How to prepare a good sample test case
If you search Google, you will find tons of links you can refer to guide you through these 3 and many more questions that you might have later on. You can use these as a good starting point:
mostly you focus test cases on boundaries....ie., if we give values below or above the range, what will happen? u just check it out. in the same way..check for out of range.. and also check whether it accepts only specified data type... and so on.
start writing for simple things
Review the test case format, understand it and also understanding of SRS is very very essential. Once SRS is completely understood, write input possibilities for each and every field and remember testers job is to make the s/w fail n not to check the s/w is working good. So think in a way where s/w can go wrong.
Sample test case for yahoo login test case title : verify username field in the login process 1.open the web browser (any) 2.enter the url in the address bar and click on enter 3. Verify 'yahoo login' home page must be disply 4. Verify username and password fields and login button must be available 5.verifycursor must be display in 'username' text box field 6.enter any information in 'username' test box field 7.delete information in 'username' text box field 8.verify 'username' text box field must be empty 9.enter uername text box field with invalid data and password field with invald data , click on login button 10.verify corresponding error message must be display 11.enter username field with valid data and password field with valid data, click on login button 12.verify user must be login into his account 14.if all steps above pass , test case pass regards, gopi test coe mimos
Hi rejani
Test case should be written as per the user requirements and as paer the modules and applications........there is no language's to writt test case's...........but in automated tool we have some languages to generate some script language its upto the tool we used.....then for sample test case..........mail me ur sample templates then after i will tell u how to write the sample test case
i need a sample test case for yahoo website.please help me.
hi pravein,
I am really shocked no one can provide the test cases for yahoo site, because it takes lots of time. If you want to know how to frame testcases please go through the links
which is already discussed in our site you will get an idea.
one more thing if you have any query please start a new post..
[url]http://www.geekinterview.com/talk/11341-drop-down-box-test-cases.html[/url]
[url]http://www.geekinterview.com/talk/11793-test-cases.html[/url]
[url]http://www.geekinterview.com/talk/8955-how-to-write-efficient-test-cases.html[/url]
Thanks
Deepasree
HI.......... I am a trainee and my project is testing a software.
Please guide me regarding the same. I am a beginner in this field. Please help me out people.
Thanks
Ankit
[QUOTE=ankybikes;54515]HI.......... I am a trainee and my project is testing a software.
Please guide me regarding the same. I am a beginner in this field. Please help me out people.
Thanks
Ankit[/QUOTE]
hi friend,
What you are actually looking for.
Thanks,
Deepa
hi friends,
i need sample test cases for functional testing.
thanks in advance
Hi Rejani,
1....How to write test case
---------------------
there are some fields to write test cases
1. Test Objective
2. Pre-conditions
3. Test data
4. Data base statemnts(SQL/Mysql/any)
5. Test Steps
6. Expected Result
using these feilds u can write but main thing u should understand the Requirement i mean u should under stand the whole Application wat u r going to test then only u can come to know the how to write steps n all.
2.....Language usage in test cases
-----------------------------
While creating test cases u should use simple n understanble language because wat u writren the test scripts it may be executed by others also so it should easy for executing person
3).........How to prepare a good sample test case
---------------------------------------
good test case means it should has follwoing
==================================
1. it should meet requirement wat u r going test
2. it should understanble to others
3. its better if it contains test data also bec it will be heilpfull in executing time
4. it should meet company standards
Thanks,
Mahantesh.G.Hadimani
Business Function:
Test Objective:
Test Pre-Conditions:
SQL Statements:
Test Data:
Test steps :
----------
Expected result:
Mahantesh.G.Hadimani
Hi All,
Before You go for writing test cases, understand the business scenarios(use cases) first going through functional requirements document and think of what kind of testing is required for the application for example functional/performance/security etc..if it is of functional then take one use case lets as employee login page, first you must know what are the different fields are avialble in the system and what are its properties.
if there are 10 fields in the applications, then you need to think of equivalence partion to reduce the test cases to minimal instaed of writing N number of test cases for each fields. it is basically time consuming process. Prepare test data to validate the fields in the application and then try to execute by poviding test data mapping with the requirements.
If it meets the customer expectations, then it is passed else failed.
Example:Login page with User name and password
Requirement: Username should be min of 10 character and it must consists of any one special character
Password should be only 4 digits
Precondition: You are already a member on this application
if you write positive and negative test cases for each field, it will go around 30-40 test cases. instead i would prefer to go like this:
1 .Verify the Username field :
Test data:ABCD,FKSFJKFHSKH, NULL,[B]ABCSGD@FGTJ[/B],12343254234,123,!@#$@#$@#$
Status: This will be passed only for the data ABCSGD@FGTJ as it satisfied the customer requirement.
2. Verify Password field:
Test data:12,1@,12345,5555,ASDAFDAS,ASCD
Status:This will be passed only for the data 5555 as it satisfied the customer requirement.
In the above scenario it is menitioned testing of only fields and primarily used BVA concept for testing the fields.
Hope this gives a some idea for the beginners...about how to proceed writing and executing the test cases.
Yours,
Suresh M