🖋️
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
  • From version 6 to version 7
  • Namespaces
  • Configuration
  • From version 5 to version 6
  • From version 4 to version 5

Was this helpful?

  1. Help
  2. Upgrading QualityMate

Previous Versions

How to upgrade previous versions.

From version 6 to version 7

Namespaces

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

Find

Replace

Mobilize.Automation.Common

Mobilize.QualityMate.Automation.Entities

Mobilize.Automation.Controls

Mobilize.QualityMate.ControlInterfaces

Mobilize.Automation.Controls.Enums

Mobilize.QualityMate.ControlInterfaces.Enums

Mobilize.Automation.Core

Mobilize.QualityMate.Automation

Mobilize.Automation.Core.Configuration

Mobilize.QualityMate.Automation.Configuration

Mobilize.Automation.Core.Entities

Mobilize.QualityMate.Automation.Entities

Mobilize.Automation.Core.Extensions

Mobilize.QualityMate.Automation.Extensions

Mobilize.Automation.Core.Selectors

Mobilize.QualityMate.Automation.Selectors

Mobilize.Automation.Core.Test.Utilities.Helpers

Mobilize.QualityMate.UiTesting.MsTest

Mobilize.Automation.Core.Utils

Mobilize.QualityMate.Automation.Utils

Mobilize.Automation.Core.Web.Entities

Mobilize.QualityMate.Automation.Web.Entities

Mobilize.Automation.Core.Web.Selectors

Mobilize.QualityMate.Automation.Web.Selectors

Mobilize.Automation.Parser.Definitions

Mobilize.QualityMate.CssParser.Definitions

Mobilize.Automation.Parser.Parser

Mobilize.QualityMate.CssParser.Parser

Mobilize.Automation.Parser.Search

Mobilize.QualityMate.CssParser.Search

Mobilize.Quality.Mate.Core.Annotations

Mobilize.QualityMate.BDD.Annotations

Mobilize.Quality.Mate.Core.Exceptions

Mobilize.QualityMate.Common.Exceptions

Mobilize.Quality.Mate.Core.Logging

Mobilize.QualityMate.BDD.Logging

Mobilize.Quality.Mate.Tools.Comparators

Mobilize.QualityMate.Common.Comparators

Mobilize.Quality.Mate.Tools.Configuration

Mobilize.QualityMate.Common.Configuration

Mobilize.Quality.Mate.Tools.Extensions

Mobilize.QualityMate.Common.Extensions

Mobilize.Quality.Mate.Tools.Utils

Mobilize.QualityMate.Common.Utils

Other Considerations:

  • You need to add the namespace using Mobilize.QualityMate.BDD; when inheriting from the Feature class.

  • When using XPathSelector add using Mobilize.QualityMate.Automation.Selectors instead of Mobilize.Automation.Core.Web.Selectors this namespace doesn't exist anymore.

Deprecated:

  • TestFeature class; use instead UiTest class.

  • UiPlayerAdapter class; use instead UiPlayer class.

Configuration

In the .runsettings file, change the following parameter names:

Deprecated

New

ApplicationUrl

Application

RunParameters

ApplicationArguments

TestTimeout

ExecutionTimeout

ParametersData

CsvDataPaths

Incognito

RunInPrivate

Only change the name; the value will remain to be the same.

From version 5 to version 6

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

Find

Replace

Logger.LogStep

UiPlayer.LogStep

AlertManager

UiPlayer.AlertManager

NavigationManager

UiPlayer.NavigationManager

ExecuteScript

UiPlayer.BrowserManager.ExecuteScript

ExecuteAsyncScript

UiPlayer.BrowserManager.ExecuteAsyncScript

PerformScroll

UiPlayer.BrowserManager.PerformScroll

CloseBrowser

UiPlayer.BrowserManager.Close

WebTestFeature

TestFeature

ConfigurationManager.Instance

ConfigurationManager

Mobilize.Quality.Mate.Core.Configuration

Mobilize.Quality.Mate.Tools.Configuration

MaximizeBrowser

Maximize

MinimizeBrowser

Minimize

GetBrowserUrl

GetUrl

ResizeBrowser

Resize

WebSelector[ \t]*\((.*)\)[ \t]*$

Selector\($1, Technology.Web\)

DesktopSelector[ \t]*\((.*)\)[ \t]*$

Selector\($1, Technology.Desktop\)

VB6Selector[ \t]*\((.*)\)[ \t]*$

Selector\($1, Technology.VB6\)

WinFormsSelector[ \t]*\((.*)\)[ \t]*$

Selector\($1, Technology.WinForms\)

If you are using VB6Selector, DesktopSelector, WinformsSelector or WebSelector, apply the corresponding find&replace. E.g.: WebSelector(“#MyId”) => Selector(“#MyId”, Technology.Web)

Other Considerations:

  • SQL methods (ExecuteReader & ExecuteNonQuery) are not included in the TestFeature class anymore. They were simple methods with nothing interesting. You can find the whole implementations downloading the SQL Functions file. It seems they only exist to use a DBConnectionString parameter specified in the .runsettings. If needed, you can copy-paste the implementations and read that same parameter from the ConfigurationManager:

      this.ConfigurationManager.GetSetting<string>("DBConnectionString")
  • RowCount for Web was counting the header before. Now it works in the same way as other grids and does not count the header.

  • Make sure you remove Mobilize.Automation.Core.Test.Utilities from the NuGets of the solution

  • The Validate method is only available for controls and page objects. Elements of the screen that can change.

    For elements that won't change, you can use a .Net framework Debug.Assert.

  • The Wait method has been removed from TestFeature. You should remove Wait with no criteria and replace them with Validate with specific criteria. This will make your TCs faster and less error-prone. If required in exceptional cases (sporadic and not recommended), use Thread.Sleep instead.

From version 4 to version 5

  • Deprecated: should() assertions. Use .Validate() instead.

  • Deprecated: RightClick, DoubleClick, LeftClick. Use the unique Click() method with the corresponding parameters instead.

PreviousFrom version 7 to version 8NextHow to switch from TestFeature to UiTest

Last updated 2 years ago

Was this helpful?

Here is a guide to know:

For more details of the new features, go to the section.

How to switch from TestFeature to UiTest.
Changelog
2KB
SQLFunctions.txt
SQL Functions