Test cases for Live Binding Samples

Last Update: July,19,2011

Open bindexpression\fmx\BindExpressionsSampleProject.dproj

back

Run


Test Case 1

Click "Evaluate"

Expected:

  • EditOutput control displays "Upper text: SAMPLE TEXT"
  • CheckBoxActive is active.
  • LabelPressEnter is visible.

Known issues: none

Test Case 2

Modify the Source Expression to: "Lower text: " + LowerCase(Text)

Press Enter

Expected:

  • EditOutput control displays "Lower text: sample text"

Known issues: none

Test Case 3

Type into EditSource, change to ABCXYZ

Press Enter

Expected:

  • EditOutput control displays "Lower text: abcxyz"

Known issues: none

Test Case 4

Unckeck CheckBoxActive

Modify the Source Expression to: +Text

Press Enter

Expected:

  • EditOutput control doesn't change

Known issues: none

Test Case 5

Modify the Source Expression to: +Text

Ckeck CheckBoxActive

Expected:

  • EditOutput control displays "ABCXYZ"

Known issues: none

Open bindexpression\fmx\BindComponentsExprProject.dproj

back

Run


Test Case 6

Click "Evaluate"

Expected:

  • EditOutput control displays "EditSource: "ABC" ListBox1:"Item0" "
  • CheckBoxActive is active.
  • LabelEditEnter and LabelClickList are visible.

Known issues: none

Test Case 7

Select an item in the ListBox1

Expected:

  • EditOutput control is updated

Known issues: none

Test Case 7.1

Select the first item in the ListBox1

Modify the expression to: EditSource.Text + " item: " + SelectedText(ListBox1)

Press Enter

Expected:

  • EditOutput control displays "ABC item: item0"

Known issues: none

Test Case 7.2

Select a different item in ListBox1

Expected:

  • EditOutput control is updated

Known issues: none

Test Case 8.1

Unckeck CheckBoxActive

Type into EditSource, change to ABCXYZ

Press Enter

Expected:

  • EditSource control doesn't change

Known issues:

  • Can't uncheck CheckBoxActive

Test Case 8.2

Type into EditSource, change to ABCXYZ

Click Evaluate

Expected:

  • EditSource control displays "ABCXYZ item: item0"

Known issues: none

Open bindexpression\fmx\BindDBExprSampleProject.dproj

back

Run


Test Case 9

Check "Active"

Expected:

  • EditOutput is updated and LabelClickNextPrior is visible

Known issues: none

Test Case 10

Click Next Row button

Expected:

  • EditOutput is updated

Known issues: none

Test Case 11

Change expression to "Owner.NotesField.Value"

Click Evaluate

Expected:

  • EditOutput is updated

Known issues: none

Open bindgridlink\vcl\BindGridLinkVCLProject.dproj

back

Run


Test Case 12.1

Check CheckBoxDataSetActive

Expected:

  • the fields, navigator and the grid are updated

Known issues: none

Test Case 12.2

UnCheck CheckBoxDataSetActive

Expected:

  • the fields, navigator and the grid are set to none

Known issues: none

Test Case 13

Check CheckBoxDataSetActive

Click arrows in navigator to change records

Expected:

  • Selected cell in grid changes

Known issues: none

Test Case 14

Change selected cell

Expected:

  • Edit is updated with value from selected row

Known issues: none

Test Case 15

Change edit value

Click check mark in navigator

Expected:

  • Grid cell shows updated value

Known issues: none

Test Case 16

Change cell value

Click check mark in navigator

Expected:

  • Edit shows updated value

Known issues:

  • Can't change selected cell: ClientDataSet2:Field '' not found. After this error Test Case 15 fails. Can't make any changes

Test Case 17

Use navigator to delete row

Expected:

  • Grid is updated

Known issues: none

Test Case 18

Use navigator to insert row

Expected:

  • Grid is updated

Known issues:

  • Grid is updated after inserting a new row if it's clicked

Open bindgridlink\fmx\BindGridLinkFMXProject.dproj

back

Run


Test Case 19

Uncheck "Active DataSet"

Expected:

  • Controls are cleared

Known issues: none

Test Case 20

Check "Active DataSet"

Expected:

  • All controls are updated

Known issues: none

Test Case 21

Click arrows in navigator to change records

Expected:

  • Selected cell in grid changes

Known issues: none

Test Case 22

Click grid

Expected:

  • Other controls update to show data from selected row

Known issues:

  • Grid navigation does not navigate dataset

Test Case 23

Change selected cell

Expected:

  • Edit is updated with value from selected row

Known issues:

  • Can't modify a record from the grid

Test Case 24

Change edit value

Click check mark in navigator

Expected:

  • Grid cell shows updated value

Known issues:

  • The grid needs to be passed through to get updated

Test Case 25

Use navigator to delete row

Expected:

  • Grid is updated

Known issues:

  • After delete, no TEdit's will accept typing, the grid also

Test Case 26

Use navigator to insert row

Expected:

  • Grid is updated

Known issues:

  • + is disabled in Navigator until a row has been selected from grid to be edited
  • On inserting the first row the grid creates a -1 row which isn't filled or cleared

Open bindlookup\vcl\BindLookupVCLProject.dproj

back

Run


Test Case 27

Check "Active"

Expected:

  • All controls are updated

Known issues: none

Test Case 28

UnCheck "Active"

Expected:

  • Controls are cleared

Known issues: none

Test Case 29

Check "Active"

Click arrows in navigator to change records

Expected:

  • ListBox and Scroll bar change position

Known issues: none

Test Case 30

Click on scroll bar

Expected:

  • Data set changes position

Known issues: none

Test Case 31

Click on ListBox

Expected:

  • Expected: Data set changes position

Known issues: none

Test Case 32

Hover over scroll bar

Expected:

  • Tool tip shows current record

Known issues: none

Open bindlink\vcl\BindLinkVCLProject.dproj - not reviewed

back

Run


Test Case 33

Click arrows in navigator to change records

Expected:

  • All controls are updated

Known issues: none

Test Case 34

Uncheck "Active DataSet"

Expected:

  • Controls are cleared

Known issues: none

Test Case 35

Check "Active DataSet"

Expected:

  • All controls are updated

Known issues: none

Test Case 36

Modify Edit Text

Expected:

  • Navigator Check is enable

Click Navigator Check

Expected:

  • Navigator Check is disabled, MaskEdit is updated

Known issues: none

Test Case 37

Select an item in the list box

Expected:

  • Navigator Check is enable

Click Navigator Check

Expected:

  • Navigator Check is disabled, Edit shows selected list box value

Known issues: none

Test Case 38

Check "Read Only Fields"

Expected:

  • Can't enter text into edit controls, memo, and change list box selection

Uncheck "Read Only Fields"

Expected:

  • Can enter text, etc.

Known issues: none

Open bindlink\fmx\BindLinkFMXProject.dproj - not reviewed

back

Run


Test Case 39

Click arrows in navigator to change records

Expected:

  • Controls are updated

Known issues: none

Test Case 40

Uncheck "Active DataSet"

Expected:

  • Controls are cleared

Known issues: none

Test Case 41

Check "Active DataSet"

Expected:

  • All controls are updated

Known issues: none

Test Case 42

Modify Edit Text

Expected:

  • Navigator Check is enable

Click Navigator Check

Expected:

  • Navigator Check is disabled, MaskEdit is update

Known issues: none

Test Case 43

Select an item in the list box

Expected:

  • Navigator Check is enable

Click Navigator Check

Expected:

  • Navigator Check is disabled, Edit shows selected list box value

Known issues: none

Open bindexpression\fmx\SynchControlsSampleProject.dproj

back

Run


Test Case 44

"Trackbar <-> TextBox and Label"

Move tracker

Expected:

  • Text box and label are updated

Known issues: none

Test Case 45

"Trackbar <-> TextBox and Label"

Enter a number (0-100) into the TextBox and press Enter

Expected:

  • TrackBar and Label are updated

Known issues: none

Test Case 46

"Two TrackBar <-> sync"

Move either trackbar

Expected:

  • The other trackbar moves

Known issues: none

Test Case 47

"TextBox -> Label"

Type into TextBox and press Enter

Expected:

  • Label is updated

Known issues: none

Test Case 48

"NumberBox -> Label"

Type into Numberbox and press Enter

Expected:

  • Label is updated

Known issues: none

Test Case 49

"TextBox<->TextBox"

Expected:

  • When form shows, TextBox should have value of the selected item

Known issues: none

Test Case 50

"TextBox<->TextBox"

Type into either TextBox and press Enter

Expected:

  • Other TextBox is updated

Known issues: none

Test Case 51

"TextBox<->TextBox"

Type into the TextBox, press Enter

Expected:

  • First list box item is updated

Known issues: none

Test Case 52

"TextBox<->TextBox"

Change listbox selection

Expected:

  • First list box item is updated

Known issues: none

Test Case 53

"ComboBox<->Label"

Type into the TextBox, press enter

Expected:

  • Label is updated

Known issues: none

Test Case 54

"TrackBar<->ProgressBar"

Move the TrackBar

Expected:

  • Progress bar is updated

Known issues: none

Test Case 55

"Calendar<->Text Controls"

Click on the Calendar

Expected:

  • TextBox and Label are updated

Known issues: none

Test Case 56

"Calendar<->Text Controls"

Change the date in the TextBox and press Enter

Expected:

  • Calendar and Label are updated

Known issues:

  • If an invalid data is entered, a message box will display and after that none of the TextBox controls will accept typing.

Open bindlist\vcl\BindListVCLProject.dproj

back

Run


Test Case 57

Click on "Clear List"

Expected:

  • List is cleared

Known issues: none

Test Case 58

Click on "Fill List" or click on "Fill List Category"

Expected:

  • List is filled with categories

Known issues: none

Test Case 59

Click on "Fill List Columns"

Expected:

  • List is filled with columns

Known issues: none

Open bindlist\vcl\BindListEditVCLProject.dproj

back

Run


Test Case 60

Write "demo" in TEdit

Click "Append"

Expected:

  • the item demo appears in listBox
  • Update and Insert button are enabled

Known issues: none

Test Case 61

Change the text in TEdit

Click "Update"

Expected:

  • the item is updated

Known issues: none

Test Case 62

Change the text in TEdit

Click "Append"

Expected:

  • the item is added at the end of the list

Known issues: none

Test Case 63

Select an item from the list

Expected:

  • the TEdit is updated

Change the text in TEdit

Click "Insert"

Expected:

  • the new item is inserted before the item selected

Known issues: none

Test Case 64

Click "Clear List"

Expected:

  • the list appointed is cleared
  • Update and Insert buttons are disabled

Known issues: none

Open bindlist\fmx\BindListFMXProject.dproj

back

Run


Test Case 65

Click on "Clear List"

Expected:

  • The appointed list is cleared

Known issues: none

Test Case 66

Click on "Fill List"

Expected:

  • The appointed list is filled

Known issues: none