0% found this document useful (0 votes)
59 views4 pages

DataLyzer Service Manager

The document discusses testing plans for a SQL rule management application. It includes: 1) Tests to validate behavior for variable and attribute rules when selecting subgroup frequency, subgroup group by, and update keys options. 2) Tests for adding and editing rules to validate handling of existing chart IDs, loading/reloading rule details when changing charts. 3) Default values and event handling for maximum records, query timeout, and data members. The document outlines specific scenarios to test the application's handling of variable versus attribute rules, default values, validation of user inputs, and updating the UI based on option selections.

Uploaded by

Anonymous k4rDvJ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views4 pages

DataLyzer Service Manager

The document discusses testing plans for a SQL rule management application. It includes: 1) Tests to validate behavior for variable and attribute rules when selecting subgroup frequency, subgroup group by, and update keys options. 2) Tests for adding and editing rules to validate handling of existing chart IDs, loading/reloading rule details when changing charts. 3) Default values and event handling for maximum records, query timeout, and data members. The document outlines specific scenarios to test the application's handling of variable versus attribute rules, default values, validation of user inputs, and updating the UI based on option selections.

Uploaded by

Anonymous k4rDvJ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

<add name="DLDbConnection" connectionString="Data Source=DESKTOP-FGQQEVI;Initial

Catalog=Neways;User ID=sa;Password=data@123;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />

Query:
select * from DIS_SQLSPC_Rules
select * from DIS_SQLSPC_RuleDetails
select * from DIS_SQLSPC_DataSource
select * from DIS_SQLSPC_DataMember
select * from DL_JobConfig
select * from charlist
delete from DIS_SQLSPC_Rules
----------------------------------------------------------------------
Pending:

=> Bug: Add/Edit/Delete data member or data source and check if reflected the same
in UI => The issue with this is when user
adds any data source/data member during editing/adding a rule, the added
datasource/datamember are not reflected in the data
source or data member field
=> Bug: While editing a rule, click on data source/data member column and check if
the edited values are being changed
=> Bug: Add/Delete a parameter/defect from rule details and check if the same is
reflected in UI
=> Bug: Duplicate charts entries for different rules are being added in add and
edit rule
=> Bug: When any row is clicked, and edited, the focus must stay on currently
selected row

-----------------------------------------------------------------------------------
-------
Completed: (Changes)

=> Initial settings => when there are no data sources, during add rule click, a
pop-up would be displayed, which would direct the user to enter data source values
=> Adding Job Name, Change Last Subgroup Key to Last Imported Key, Change select
table to Select Table/View
=> Validation of data source names, restricting user to provide unique names for
data source
=> Provide delete option for each data member
=> Updating the row color to red, if defect/parameter is deleted for a particular
rule in rule details grid
=> If a data source is added, the user must be restricted to add data member
=> Double click on a row and the related rule details editing window must be
displayed
=> Radio button for Subgroup frequency and Subgroup group by either one needs to be
selected (Variable) and Subgroup group by to be disabled for Attribute
If update keys is present in database, then subgroup frequency should be -1
=> Subgroup frequency if selected, Update keys to be disabled for Attribute and
viceversa. If update key is selected, subgroup frequency is -1
=> Max Record default value will be -1 and also if not selected it would be set to
-1
=> Duplicate charts entries for are not allowed
=> If the chart is changed, the details will be re-loaded (if chart type is
different, else will display a pop-up)
=> When any row is clicked, and edited, the focus will stay on currently selected
row
Changes: 9, Bugs: 4

Testing:

=> If subgroup frequency is selected, subgroup group by to be disabled/unchecked


=> If subgroup frequency is selected, updated key to be deselected for Attribute
=> If update Subgroup is deselected, values to be re-loaded and update offset to be
set to 0
=> Check if data source names are unique
=> Check if atleast one data member is entered by the user for each data source
names
=> Check if user is allowed to delete each data member
=> If any parameter/defect is deleted, it must be displayed in red color
=> Double click on row in rule details grid, edit rule details window to be
displayed
=> Add/Edit/Delete data member or data source and check if reflected the same in UI
=> While editing a rule, click on data source/data member option and check if the
edited values are being changed

Add Rule:
=> Try assigning a chart for which the rule already exists => don't allow
=> Select a chart load details and again select another chart which exists =>
don't allow
=> Select a chart, load details and again select another chart that doesn't exists
=> allow
If the chart selected type is different, details to be loaded, If the chart
selected type is same, a pop-up
message as whether details must be reloaded or not !

Edit Rule:
=> Select a chart, the chart ID already exists for another rule => warning msg and
dont allow to edit
=> Select a chart, the chart ID doesnt exists for any rule, but the current chart
and changed chart type is same => Warning message
as you have changed the chart. Do you want to proceed? If yes, another warning
message as: Do you want to load the details for
selected chart? If yes click on load details else retain the old rule details
=> Select a chart, the chart ID doesn't exists for any rule, but the current chart
and changed chart type is different
Warning message: You have changed the chart. Do you want to proceed? If yes,
another warning: You have to load the details for
the current chart, Click on load details
=> Uncheck and check the same chart, click on load details, save
=> Uncheck and check the same chart, don't click on load details, save

For variable:

MapControltoModel
By Default: Subgroupfrequency should be checked, default value to be -1
Subgroup group by to be unchecked, default value to be None

Update keys to be disabled, Key column and update offset to be disabled


Key column should be empty
Update offset should be 0

Subgroup frequency value changed event


If Subgroup frequency is checked => obtain subgroup frequency value
Subgroup group by value changed event
If subgroup group by is checked => Obtain subgroup group by value
Update key column check event
If Update Key is checked, obtain newly checked values
Update offset value changed event
If Update key is cheched, obtain newly entered values

For Attribute:
By default: Subgroupfrequency should be checked, default value to be -1
Subgroup group by to be unchecked and disabled (radio button and combo box),
default value to be None

Update keys to be enabled and Key column and Update offset to be enabled
If Update keys is checked, Key column must be loaded with col names and Subgroup
freq to be -1
Update offset should be set

Subgroup frequency value changed event


If value is greater than -1, Update keys to be unchecked and key col to be null and
offset = 0
else
if value is -1, Update key checked, key col => col values and offset = 0

If update key is checked, by keycolumn value to be changed and offset value to be


changed
call Key col checked change event and numeric offset value changed event

MaxRecord:
Unchecked => -1
Checked => value
Checked => 0, -1
Give less than -1, should be -1
Give more than 100000, should be 100,000

Query Time out


Less than 30, should be 30
More than 1200, should be 1200

Data Member
Check data member, enter value
Uncheck data member, empty value must go to db
If no value, where clause should be unchecked
If there is value, where clause should be checked

Variable:

Default (Add Rule)


Subgroup Frequency to be checked and -1
Subgroup Group by unchecked and value to be None
Update keys part to be disabled

Edit Rule:
If subgroup freq < -1, subgroup freq => -1 unchecked and subgroup
group by checked

Update Keys
Subgroup GroupBy

Add/Edit rule

=> select a chart, load details, change chart (same/different chart type)
=> select a chart, change chart(existing)
=> select a chart, load details, change chart(existing), load details
=> select a chart, load details, change chart(existing), save

You might also like