diff options
author | Oliver Craemer [oc] <oliver.craemer@oracle.com> | 2011-01-21 17:11:44 +0100 |
---|---|---|
committer | Oliver Craemer [oc] <oliver.craemer@oracle.com> | 2011-01-21 17:11:44 +0100 |
commit | 4f06c864a34a8b2d0dd80824412c3030511685aa (patch) | |
tree | f658fc5087c1141de911fb84c441e772dbbbc0d2 /testautomation/chart2 | |
parent | 7cc5bc3d5a28aff7c58d2b79090d7e9f35b44fbf (diff) |
#i115845# adapt autotest for chart data axis
Diffstat (limited to 'testautomation/chart2')
-rw-r--r-- | testautomation/chart2/optional/includes/ch2_flexible_source_range_selection.inc | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/testautomation/chart2/optional/includes/ch2_flexible_source_range_selection.inc b/testautomation/chart2/optional/includes/ch2_flexible_source_range_selection.inc index 0151f5021b3e..f2a6e24e45a2 100644 --- a/testautomation/chart2/optional/includes/ch2_flexible_source_range_selection.inc +++ b/testautomation/chart2/optional/includes/ch2_flexible_source_range_selection.inc @@ -239,10 +239,10 @@ testcase tDataSeriesWizardCalc call DialogTest ( TabChartTypeDataSeries ) printlog "Check if the data series listbox is enabled and contains three entries" iDataSeries = DataSeries.GetItemCount - if iDataSeries = 3 then - printlog " All 3 data series are available" + if iDataSeries = 4 then + printlog " All 4 data series are available" else - warnlog "There are " & iDataSeries & " data series instead of 3" + warnlog "There are " & iDataSeries & " data series instead of 4" endif printlog "Check if the ADD button is enabled and click the button" if AddButton.IsEnabled then @@ -253,10 +253,10 @@ testcase tDataSeriesWizardCalc endif printlog "Check if there are now four entries in the data series listbox" iDataSeries = DataSeries.GetItemCount - if iDataSeries = 4 then + if iDataSeries = 5 then printlog " Adding a data series was successfull" else - warnlog "There are " & iDataSeries & " data series instead of 4" + warnlog "There are " & iDataSeries & " data series instead of 5" endif printlog "Check if the second data series was added below the highlighted one" if DataSeries.GetSelIndex = 2 then @@ -271,9 +271,9 @@ testcase tDataSeriesWizardCalc else warnlog "REMOVE button is not enabled" endif - printlog "Check if there are now 3 entries in the data series listbox" + printlog "Check if there are now 4 entries in the data series listbox" iDataSeries = DataSeries.GetItemCount - if iDataSeries = 3 then + if iDataSeries = 4 then printlog " Removing a data series was successfull" else warnlog "There are " & iDataSeries & " data series instead of 3" @@ -302,13 +302,14 @@ testcase tDataSeriesWizardCalc DataSeries.Select(1) if MoveDown.IsEnabled then printlog " The MoveDown button is enabled" - printlog "Click Move Down button twice" + printlog "Click Move Down button three times" + MoveDown.Click MoveDown.Click MoveDown.Click else warnlog "The MoveDown button is disabled" endif - if DataSeries.GetSelIndex = 3 then + if DataSeries.GetSelIndex = 4 then printlog " Moving data series was successfull" if MoveDown.IsEnabled then warnlog "MoveDown button is not disabled on first entry" |