Jump to content

Test:DropDown

From RiskiPedia
method effectiveness

None

0

Rhythm

90

Condom

95

IUD

99.9

Tubal Ligation

99.99

{"None":"0","Rhythm":"90","Condom":"95","IUD":"99.9","Tubal Ligation":"99.99"}

choice

First

Second

Third

{"First":"First","Second":"Second","Third":"Third"}

Testing selecting using different columns from the table:

l1 v1 l2 v2 l3 v3

1_One

1

2_One

100

3_One

1000

1_Two

2

2_Two

101

3_Two

1003

1_Three

3

2_Three

102

3_Three

1003

{"1_One":"1","1_Two":"2","1_Three":"3"}

{"2_One":"100","2_Two":"101","2_Three":"102"}

{"3_One":"1000","3_Two":"1003","3_Three":"1003"}


Test some error conditions:

No datatable2 name given: DropDown: missing table= argument

Bad column names: DropDown: no column named typo (valid columns are: l1 v1 l2 v2 l3 v3)


DropDown: no column named oopsie (valid columns are: l1 v1 l2 v2 l3 v3)