Inspect Parameter Value
 

 

Equivalence Classes

test data item

public fields

protected fields

private fields

package local fields

 

Detailed Test Cases

Case # Description Steps Expected Outcome Actual Outcome
  Preparation (creating a test data item to inspect). Note - this prepatory step needs to have been done before any other test cases are carried out
  • Make sure TestClass33 is in the same directory as ETA.jar
  • Select Test | New Test Data Item...
  • Select Derived from 'Object'
  • Press OK
  • Type TestClass33
  • Press OK
  • Type testClass33 for name
  • Press OK
a test data item named testClass33 should be in the Test Data Items tab of object pool  
1 inspect button present for non-primitive test data items
  • click on Test Data Items tab of object pool
  • click on inspect button of testClass33

object inspector window shows up

'inspect' event is recorded in session log

 
2 retrieving values of public fields
  • click on Test Data items tab of object pool
  • click on inspect button of testClass33
  • click on public tab
  • click on pubInt field name

object inspector window shows up

'inspect' event is recorded in session log

new test data item named pubInt shows up in test data items tab of object pool

value in combo box should have pubInt selected

 
3 retrieving values of protected fields
  • click on Test Data items tab of object pool
  • click on inspect button of testClass33
  • click on protected tab
  • click on protInt field name

object inspector window shows up

'inspect' event is recorded in session log

new test data item named protInt shows up in test data items tab of object pool

value in combo box should have protInt selected

 
4 retrieving values of private fields
  • click on Test Data items tab of object pool
  • click on inspect button of testClass33
  • click on private tab
  • click on privInt field name

object inspector window shows up

'inspect' event is recorded in session log

new test data item named privInt shows up in test data items tab of object pool

value in combo box should have privInt selected

 
5 retrieving values of package local fields
  • click on Test Data items tab of object pool
  • click on inspect button of testClass33
  • click on package local tab
  • click on pacLocInt field name

object inspector window shows up

'inspect' event is recorded in session log

new test data item named pacLocInt shows up in test data items tab of object pool

value in combo box should have pacLocInt selected

 
6 close button
  • click on Test Data Items tab of object pool
  • click on inspect button of testClass3
  • click on close button

object inspector shows up

'inspect' event is recorded in session log

'end inspect' event is recorded in session log

 

 


last modified Mar 9 2001 by Michael Hebron