Question

In writing Test case as I know, first step/task is to identify the Test Item/Function point and Test Condition. What is "Test Item" and "Test Condition" and what's the process/way to identify them? Please explain with an example.

Was it helpful?

Solution

1) Test item: The individual element to be tested. There are basically many test items in a "test object" which actually is a component/subsystem to be tested. No need to quote an example here since it is quite self-explanatory.

2) Test condition: An item or event of a component or system that could be verified by one or more test cases, e.g. a function, transaction, feature, quality attribute, or structural element. For example, for a username field on a signup form, test conditions could be like
- It shouldn't start with a non-alphabet
- It can contain utmost two digits with no non-alphanumeric characters after the first input character.

OTHER TIPS

Test condition is the condition which is the Process that you should follow to test an application.

Ex: – You Have Login Form. Test Condition 1:- when User Name and Password are valid Then application will move forward. The above one is the test condition which is the basic Condition where that tests process will get pass.

Test Item : test item indicates what are all the items need to test in software application and what need to no test ...

Example : Suppose we are starting to test eCommerce site, initially we need to test items which are required (i.e)
1.We need to validate customer registration form 2.Check out process is main item

In the context of an IEEE 829 test plan, "test item" refers to the code package that is being tested. According to the textbook, Software Testing: An ISTQB-ISEB Foundation Guide, "a test item is a software item that is the object of testing . A software item is one or more items of source code, object code, job control code, or control data".

Test Item: The individual element to be tested. There usually is one test object and many test items.

Test Condition: An item or event of a component or system that could be verified by one or more test cases, e.g., a function, transaction, feature, quality attribute or structural element.

For example: Test Object: Login form

Test Item: Login authentication

Test Condition: 1) both username and password are blank 2) username is blank, password is invalid ..... and so on

Is it helpful?

Case1 : First take it as "username and password " with valid data..

Case2 : Username and Password should be accept the min 6-8 characters

Case3 : Username field should accept the "Alphanumerics" and password should accept the alphanumerics and special symbols also.

Case4 : Username and password should not be accept the empty values.

Case5: Take it the user name as valid and Password field as Empty.it should be display the Validation.

Case6 : Take it the User Name as Empty and Password field as valid data.it should be display the validation.

Case7 : username and password fields both are invalid like min-1 characters.it should not be accepted.

Case 8: User Name and Password Fields both accept invalid details like Max+1 characters.it should not accepted.

Case 9: password should be accept the min+mid/2 characters.

Case 10 : Username and password fields should be accept the valid data like min+1 and Max-1 characters.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top