# Testcase Specification: Updatetest for Flexible Source Range Selection

### Test Purpose

- Updatetest for the Flexible Source Range Selection

### Preconditions of the test:

- n/a

### Test documents

- n/a

##### TESTCASE : tDataRangeWizardCalc

- Open test document ch_flexrange01.ods
- Move cursor to datarange
- Menu Insert chart to open chart wizard
- Choose the Chart type bar (should be the second in the top-down list)
- Switch to tabpage Data Range
- Check data range in edit field
- Check if -Data series in rows- is enabled
- Check if -Data series in columns- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and not checked
- Press button Range Chooser
- Enter an invalid range and close Range Chooser
- Check if -Data series in rows- is disabled
- Check if -Data series in columns- is disabled
- Check if -First row as label- is disabled
- Check if -First column as label- is disabled
- Check if Back, Next and Finish does not work
- Enter a valid range
- Check if -Data series in rows- is enabled
- Check if -Data series in columns- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and not checked
- Press Cancel button
- Close document

##### TESTCASE : tDataSeriesWizardCalc

- Open test document ch_flexrange02.ods
- Move cursor to datarange
- Menu Insert chart to open chart wizard
- Choose the Chart type XY (SCATTER)
- Switch to tabpage Data Series
- Dialogtest
- Check if the data series listbox is enabled and contains 3 entries
- Check if the ADD button is enabled and click the button
- Check if there are now 4 entries in the data series listbox
- Check if the new data series was added below the highlighted one
- Check if the REMOVE button is enabled and click the button
- Check if there are now 3 entries in the data series listbox
- Use UP button and verify that it it disabled on first entry
- Use DOWN button and verify that it is disabled on last entry
- Select first entry in Data Ranges
- Verify that the range matches the one in edit field
- Select second entry in Data Ranges
- Check that the range in the edit field has changed too
- Change the range in edit field
- Check that the range in Data Ranges has changed too
- Click on Range Chooser and change the range
- Check if the range in Data Ranges is selected
- Edit range for Data Labels
- Click on Range Chooser and change the range
- Verify that the range is taken
- Enter an invalid range
- Check that the BACK button does not work
- Enter a valid range
- Press Range Chooser
- Move cursor to the end
- Enter a semicolon and a second range
- Close Range Chooser
- Verify that there is a multiple range
- Press Cancel button
- Close document

##### TESTCASE : tDataRangeDialogCalc

- Open test document ch_flexrange03.ods
- Select chart using navigator
- Edit / Object / Edit
- Open FORMAT / DATA RANGES
- Switch to tabpage Data Range
- Dialogtest
- Check data range in edit field
- Check if -Data series in columns- is enabled
- Check if -Data series in rows- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and checked
- Press button Range Chooser
- Enter an invalid range in Range Chooser and close Range Chooser
- Check if -Data series in rows- is disabled
- Check if -Data series in columns- is disabled
- Check if -First row as label- is disabled
- Check if -First column as label- is disabled
- Check if OK button is disabled
- Enter a valid multiple range
- Check if -Data series in columns- is enabled
- Check if -Data series in rows- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and checked
- Press Cancel button
- Close document

##### TESTCASE : tDataSeriesDialogCalc

- Open test document ch_flexrange04.ods
- Select chart and open context Data Ranges
- Switch to tabpage Data Series
- Dialogtest
- Check if the data series listbox is enabled and contains 1 entrie
- Check if the ADD button is enabled and click the button
- Check if there are now 2 entries in the data series listbox
- Check if the new data series was added below the highlighted one
- Use UP button and verify that it it disabled on first entry
- Use DOWN button and verify that it is disabled on last entry
- Check if the REMOVE button is enabled and click the button
- Check if there are now 1 entrie in the data series listbox
- Select first entry in Data Ranges
- Verify that the range for NAME matches the one in edit field
- Select second entry in Data Ranges
- Check that the range in the edit field has changed too
- Change the range in edit field
- Check that the range in Data Ranges has changed too
- Click on Range Chooser and change the range
- Check if the range in Data Ranges is selected
- Edit range for Data Labels
- Click on Range Chooser and change the range
- Verify that the range is taken
- Enter an invalid range
- Check that the OK button does not work
- Enter a valid range
- Press Range Chooser
- Move cursor to the end
- Enter a semicolon and a second range
- Close Range Chooser
- Verify that there is a multiple range
- Press Cancel button
- Close document

##### TESTCASE : tDataRangeWizardWriter

- Open test document ch_flexrange05.odw
- Move cursor to datarange
- Menu Insert Object Chart to open chart wizard
- Choose the Chart type line (should be the fifth in the top-down list)
- Switch to tabpage Data Range
- Dialogtest
- Check data range in edit field
- Check if -Data series in rows- is enabled
- Check if -Data series in columns- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled checked
- Enter an invalid range
- Check if -Data series in rows- is disabled
- Check if -Data series in columns- is disabled
- Check if -First row as label- is disabled
- Check if -First column as label- is disabled
- Check if Back, Next and Finish does not work
- Enter a valid range
- Check if -Data series in rows- is enabled
- Check if -Data series in columns- is enabled and chosen
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled checked
- Press Cancel button
- Close document

##### TESTCASE : tDataSeriesWizardWriter

- Open test document ch_flexrange06.odw
- Move cursor to datarange in writertable
- Menu Insert Object Chart to open chart wizard
- Choose the Chart type area (should be the fourth in the top-down list)
- Switch to tabpage Data Series
- Dialogtest
- Check if the data series listbox is enabled and contains 4 entries
- Check if the ADD button is enabled and click the button
- Check if there are now 5 entries in the data series listbox
- Check if the new data series was added below the highlighted one
- Check if the REMOVE button is enabled and click the button
- Check if there are now 4 entries in the data series listbox
- Use UP button and verify that it it disabled on first entry
- Use DOWN button and verify that it is disabled on last entry
- Select first entry in Data Ranges
- Verify that the range matches the one in edit field
- Select second entry in Data Ranges
- Check that the range in the edit field has changed too
- Change the range in edit field
- Check that the range in Data Ranges has changed too
- Edit range for Categories
- Enter an invalid range
- Check that the BACK button is disabled
- Enter a valid range
- Press Cancel button
- Close document

##### TESTCASE : tDataRangeDialogWriter

- Open test document ch_flexrange07.odw
- Select chart using navigator
- Edit / Object / Edit
- Open FORMAT / DATA RANGES
- Switch to tabpage Data Range
- Dialogtest
- Check data range in edit field
- Check if -Data series in columns- is enabled and chosen
- Check if -Data series in rows- is enabled
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and checked
- Enter an invalid range
- Check if -Data series in rows- is disabled
- Check if -Data series in columns- is disabled
- Check if -First row as label- is disabled
- Check if -First column as label- is disabled
- Check if OK button is disabled
- Enter a valid multiple range
- Check if -Data series in columns- is enabled and chosen
- Check if -Data series in rows- is enabled
- Check if -First row as label- is enabled and checked
- Check if -First column as label- is enabled and checked
- Press Cancel button
- Close document

##### TESTCASE : tDataSeriesDialogWriter

- Open test document ch_flexrange08.odw
- Select chart and open context Data Ranges
- Switch to tabpage Data Series
- Dialogtest
- Check if the data series listbox is enabled and contains 4 entries
- Check if the ADD button is enabled and click the button
- Check if there are now 5 entries in the data series listbox
- Check if the new data series was added below the highlighted one
- Check if the REMOVE button is enabled and click the button
- Check if there are now 4 entries in the data series listbox
- Use UP button and verify that it it disabled on first entry
- Use DOWN button and verify that it is disabled on last entry
- Select first entry in Data Ranges
- Verify that the range matches the one in edit field
- Select second entry in Data Ranges
- Check that the range in the edit field has changed too
- Change the range in edit field
- Check that the range in Data Ranges has changed too
- Edit range for Categories
- Enter an invalid range
- Check that the OK button is disabled
- Enter a valid range
- Press Cancel button
- Close document

### Problematic areas

no problematic areas