🖋️
QualityMate
  • QualityMate
  • Getting Started
    • Introduction
    • Why QualityMate
    • Architecture
    • Supported Web Browsers
    • Glossary
  • Components
    • UI Player
      • Basic Concepts
      • UiPlayer
      • MSTest Integration
      • Samples
        • QualityMate Sample Desktop
        • QualityMate Sample Web
        • QualityMate MSTest Integration Sample Desktop
        • QualityMate MSTest Integration Sample Web
        • QualityMate Integration with Test Frameworks
        • Web Authentication Sample
      • QualityMate Project Template
    • UI Recorder
      • Basic Concepts
      • Setting Up the Recorder
      • Validating an Element
      • Generating QualityMate Solution
  • Tools
    • File Comparators
    • Image Processor
    • Project Merger
    • Test Case Generator
      • Filters
      • Rename Recorded Controls
  • Basic Concepts
    • Page Object
      • Work Guide
    • Controls
      • Control Types
        • Generic Types
        • Desktop types
        • Web Types
        • WebMap types
          • Kendo PowerBuilder
          • Kendo WinForms
          • Kendo Silverlight
      • Interactions
        • SendKeys
        • Validate
    • Selectors
      • Selectors in Code
      • Default Selector
      • Shared Selector
      • Selectors Category
        • CSS Selector
        • XPath Selector
        • Image Selector
        • Frame Selector
      • Identifying Selector
        • Identify for Windows Desktop
        • Identify for Web
  • How to Guides
    • Setting Up the Configuration
      • Parameters
      • Context
      • Loading External Data
    • Awaiting for the Application
      • Busy Loaders
      • Retries
    • Defining Controls
      • Extending Controls
      • Control Slice
      • Control Collection
    • Logging on Tests
      • QualityMate Reports
      • Logging
  • Help
    • Best Practices
      • Environment
      • Tests
      • Page Objects
      • Validations
      • Interactions
      • Image Comparisons
    • Known Issues
    • Continuous Integration
      • Agents Session
    • Upgrading QualityMate
      • From version 7 to version 8
      • Previous Versions
      • How to switch from TestFeature to UiTest
    • VS Test
      • Command Line
      • Generate Reports
  • API
    • Control Interfaces
      • IButton
      • ICheckBox
      • IComboBox
      • IControl
      • IControlSlice
      • IDateTimePicker
      • IElement
      • IGrid
      • IGroupBox
      • ILabel
      • IListBox
      • IMenu
      • INumericUpDown
      • IPageObject
      • IProgressBar
      • IRadioButton
      • IRadioButtonGroup
      • ISplitButton
      • IStatusStrip
      • ITab
      • ITextBox
      • IToggleButton
      • IToolBar
      • ITreeView
    • Behavior
      • ICheckableControl
      • IList
      • ITextControl
    • Enums
      • ClickType
      • KeyModifiers
      • MouseButton
  • Changelog
    • Changelog
      • Version 8
      • Version 7
      • Version 6
      • Version 5
      • Version 4
      • Version 3
Powered by GitBook
On this page
  • Manual Changes
  • RegEx
  • Find and Replaces

Was this helpful?

  1. Help
  2. Upgrading QualityMate

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:

Technology
Find
Replace

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.

PreviousUpgrading QualityMateNextPrevious Versions

Last updated 1 year ago

Was this helpful?