From version 7 to version 8

How to upgrade from a previous version to the latest one.

Manual Changes

PlainFileComparator and XmlFileComparator are no longer supported in QualityMate 8. Please search for a 3rd party solution for those file comparisons.

KendoPowerBuilder technology has been removed in QualityMate 8 and will be reimplemented in the future with more standard controls. For those projects, we recommend not upgrading.

CsvLoader.ReadDataFromCsvFiles now receives a list of strings instead of a single string separated by ",".

The CreateContext from UiConfigurationManager no longer receive dictionary. Use UiPlayerConfiguration instead.

The type of time parameters in UiPlayerConfiguration was changed from int to TimeSpan.

If you were using IComboBox.SelectedIndex property to check no item is selected, we recommend validating the text of the Combobox instead.

TestFeature would be replaced by UiTest, to do that follow this guide How to switch from TestFeature to UiTest

IComboBox, IListBox, IMenu, IRadioButtonGroup, ITab, IToolBar and ITreeView now return IElements instead of strings. Equals comparisons should be avoided because they could cause problems in runtime.

For example: listBox[0].Equals("string") won't throw any compilation errors but will fail.

Use listBox[0].Text == "string" instead.

RegEx

Find

Replace

\.ClickItem\((\$?"[^"]*"|[\w_.]+)\)

[$1].Click()

\.GetValueAt\((\$?"[^"]*"|[\w_.]+)\)

[$1].Text

\.GetValueAt\((\$?"[^"]*"|[\w_.]+),\s*(\$?"[^"]*"|[\w_.]+)\)

[$1][$2].Text

\.((?:Double)?Click)\((\$?"[^"]*"|[\w_.]+)\)

[$2][$2].$1()

\.DoubleClickItem\((\$?"[^"]*"|[\w_.]+),\s*(\$?"[^"]*"|[\w_.]+)\)

[$1][$2].Click(ControlInterfaces.Enums.MouseButton.Left, ControlInterfaces.Enums.ClickType.Double)

\.ClickItem\((\$?"[^"]*"|[\w_.]+),\s*(\$?"[^"]*"|[\w_.]+)\)

[$1][$2].Click()

\.ClickItem\((\$?"[^"]*"|[\w_.]+)\)

[$1].Click()

Use the following RegEx for ClickOnNode from ITreeView:

TechnologyFindReplace

KendoWinforms, Desktop

\.ClickOnNode\((\$?"[^"]*"|[\w_.]+)\)

.GetNode($1).Click()

WM_ISilver

\.ClickOnNode\((\$?"[^"]*"|[\w_.]+)\)

.GetNode($1).Find<IElement>(".mouseEvents, span.labelspan, span.tree-label, .innerContainer div").Click()

Find and Replaces

The following are the Find & Replace that you must do:

Find

Replace

Mobilize.QualityMate.ControlInterfaces;

Mobilize.QualityMate.ControlInterfaces;

using Mobilize.QualityMate.ControlInterfaces.Behavior

Mobilize.QualityMate.Common.Configuration

Mobilize.QualityMate.Automation.Configuration

ITable

IGrid

IReadableControl

IControl

IMaskedTextBox

ITextBox

IDropDownList

IComboBox

.Controls.

.

.SelectedItem.

.SelectedItem.Text.

Last updated