|
INTERVIEW QUESTIONS
TESTING - BASICS
TEST CASES
DETAILS
Question: 1 .Below mention a tree view of head. If Admin will login with his password, then he can view all from root level to leaf level, but an ordinary user login with his password, then he can view only Term 2 and under Term2 (O, P), but he can't view Term1 and head.
HEAD _______|_______ | | term1 term2 __|__ __|__ T Z O P
WRITE TEST CASES FOR THIS
Answer: S.No Scenario Goal
(1) Admin enters his username He can veiw all from root
as Admin and password level to tree level as
(xxxxxx) mentioned in the tree view
(2) Ordinary user enters his He can view only term 2
username as user 1 and and in term 2 only O,P as
password (xxxxxx) mentioned in tree view
Test Case #1 for scenario 1 is
S.No Steps Expected Test data
1 Open the login window Login window is open
according to requirements
2 Login with admin user Admin should enter UN=Admin
and password in test data application pwd=xxxxxx
3 View the tree view of head Full tree view
should be displayed according to
requirements
Above is a positive test case,in the same way a negative test case can be created by typing username as "admins" and password as "xxxxxxxxxx" .
For the scenario 2 also a positive test case and negative test case can be created.
We can create around 10 test cases with different possibilities.
|
|
|
Category |
Test Cases Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6817 users |
Added on |
8/1/2011 |
Views |
71680 |
Rate it! |
|
|
Question:
1 .Below mention a tree view of head. If Admin will login with his password, then he can view all from root level to leaf level, but an ordinary user login with his password, then he can view only Term 2 and under Term2 (O, P), but he can't view Term1 and head.
HEAD _______|_______ | | term1 term2 __|__ __|__ T Z O P
WRITE TEST CASES FOR THIS
Answer:
S.No Scenario Goal
(1) Admin enters his username He can veiw all from root
as Admin and password level to tree level as
(xxxxxx) mentioned in the tree view
(2) Ordinary user enters his He can view only term 2
username as user 1 and and in term 2 only O,P as
password (xxxxxx) mentioned in tree view
Test Case #1 for scenario 1 is
S.No Steps Expected Test data
1 Open the login window Login window is open
according to requirements
2 Login with admin user Admin should enter UN=Admin
and password in test data application pwd=xxxxxx
3 View the tree view of head Full tree view
should be displayed according to
requirements
Above is a positive test case,in the same way a negative test case can be created by typing username as "admins" and password as "xxxxxxxxxx" .
For the scenario 2 also a positive test case and negative test case can be created.
We can create around 10 test cases with different possibilities. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Give the test scenerios and test cases on electric bulb....
|
View Answer
|
|
What are Testcases for date field validation It has calender provided beside textbox (we need to select date from text box)
|
View Answer
|
|
Test cases for coffee machine?
|
View Answer
|
|
Write test cases for cell phone
|
View Answer
|
|
How to Test Payemnt gateway for E-shopping???
|
View Answer
|
|
Write down test cases for Notepad to "Save/Save as" a file. Write down Functional, UI, Performance, Load, Stress Test cases - scenario in "Save/Save as".
|
Write down Functional, UI, Performanc - Test Cases Interview Questions & Answers">
View Answer
|
|
How to write test cases for use cases? Please give me examole
|
View Answer
|
|
How will you review test cases?
|
View Answer
|
|
What are the test cases for one Rs Coin Box(Telephone box) ?
|
View Answer
|
|
I faced this question in an interview. They gave a scenario to write 5 functional testcases. The scenario is " there are two notepad applications which were already open. In notepad1 some typed text is there. notepad2 is empty. Using cut and paste option u have to paste the entire text from notepad1 into notepad2."
|
View Answer
|
|
How do we write test cases without knowing the Proper requirement and Documents?
|
View Answer
|
|
can we write test cases with the help of screen shots(without referring rd .srs)what is the use of actual result in the test case format?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Test Cases Interview Questions & Answers - Exam Mode /
Learning Mode
|