Dave Burrell
  • Home
  • Power Automate
  • Power Platform
  • D365
  • Solution Architecture
  • Lifestyle
  • About Me
  • Contact Me
Top Posts
Working from home – How to survive!
Power Automate Patterns: Scottish Summit 2020
Solution Framework Fundamentals
#COMMUNITYROCKS – Virtual Lunch
Dynamics365 / CDS – Five Layers of Security
PowerObjects: One Year Aniversary!
Integration Demystified
Solution Strategy
Best Photos of Scottish Summit 2020
Updates Delayed
Dave Burrell
  • Home
  • Power Automate
  • Power Platform
  • D365
  • Solution Architecture
  • Lifestyle
  • About Me
  • Contact Me
Power AutomatePowerPlatform

Power Automate: Your UI testing companion – Part 1

by Dave Burrell 11th February 2020
by Dave Burrell 11th February 2020
0
FacebookTwitterLinkedinRedditWhatsappEmail

We all know that Power Automate is an excellent way of
automating business processes within your business but did you know that you
are also able to use it as a way of continuously testing?

Power Automate has recently released the concept of UI Flows
which allow flows to interact with a browser using the Selenium framework. This
provides a very efficient way to implement automated testing into your
organisation. In this blog, I will show you how to create a flow that creates
an Account in your CRM instance.

Prerequisites

Flow Subscription that included premium features.

A device that runs Windows 10, Windows Server 2016, or Windows Server 2019.

You will require Google Chrome or Edge Chromium.

Download and Install the UI Flow Installer: https://go.microsoft.com/fwlink/?linkid=2102613

 

Download and Install Selenium IDE: https://go.microsoft.com/fwlink/?linkid=2107665

Limitations

General

  • Non-US (QWERTY) keyboards are not supported in the preview release, playback of an input step where the key sequence was recorded from a non-US (QWERTY) keyboard will result in keystrokes in US (QWERTY).

Desktop UI Flows

  • Multiple monitors
  • Virtual machines
  • Double click, mouse hover, touch/pen input
  • Interactions on Windows (File explorer, startup menu, taskbar, etc.)

Web UI Flows

  • Right-click
  • User session information (e.g., cookies) will not be reused during playback. You will have to edit the script to embed sign-in information when required by websites.

Let’s get started creating a new UI Flow.

Login to https://flow.microsoft.com

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne1

Navigate to My Flows from the menu on the left-hand side.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne2

Select UI Flow (Preview)

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne3

Select Crete a UI Flow.

You will then be presented with two options.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne4

You need to select the correct option depending on the type of action that you wish to automate.

Desktop App: Example: if I want to automate customer creation in a custom access database.

Web App: Example: if I want to automate account creation in Dynamics 365 Customer Engagement.

In this example, we will be using the Web app.

Select the Web app and click on Next.

You will be prompted for Name and a Base URL for the web application you wish to test.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne5

In this example, I have entered a name to identify my CRM instance and the URL in full of the particular model-driven app that I wish to test.

You can then select Launch Recorder.

This will open up the Selenium steps recorder.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne6

You then select REC in the top right-hand side of the Selenium IDE, and it will begin the recording process.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne7

You then go through the process of creating a new account within CRM and Selenium will record each of the steps that you have taken. When you have finished push the stop button at the top right-hand side of the Selenium IDE window.

You can now see all of the steps within your test.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne8

You can now save your project.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne9

You are now able to see the UI flow under My Flows.

Power Automate: Your UI testing companion – Part 1 UIFlowPartOne10

You have now created your first UI flow. In the next instalment, I will explain how to run your UI flows again and create and automate your testing.

AutomationPower AutomateTesting
0
FacebookTwitterLinkedinRedditWhatsappEmail

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

Dave Burrell

Hey! I am Dave Burrell a Power Platform Solution Architect. I am an evangelist for all things Power Platform and love nothing more than a #LowCodeNoCode implementation.

previous post
Is it an Account? Is it a Plane? It is neither and both!
next post
Power Automate: Your UI testing companion – Part 2

You may also like

Lack of updates and something exciting….

10th April 2020

Power Automate Patterns: Scottish Summit 2020

2nd March 2020

Integration Demystified

1st March 2020

About Me

About Me

Power Platform Evangelist

Hey! I am Dave Burrell a Power Platform Solution Architect. I am an evangelist for all things Power Platform and love nothing more than a #LowCodeNoCode implementation.

Lets be Social!

Facebook Twitter Instagram Linkedin Youtube Email

Quote

Revolutions begin with Community!

Recent Posts

  • Lack of updates and something exciting…. 10th April 2020
  • Updates Delayed 24th March 2020
  • #COMMUNITYROCKS – Virtual Lunch 17th March 2020
  • Working from home – How to survive! 16th March 2020
  • PowerObjects: One Year Aniversary! 13th March 2020

Microsoft Community Posts

  • How to find the number of days between two dates using Power Automate

    Power Automate does not include a built-in expression that will calculate the difference in days […]

  • Working with Image and File Types in Dataverse(CDS)

    Image and File Column Data Types are great addition to the Dataverse (CDS) but I found it a little […]

  • Save All Attachments When an Email Arrives

    Here’s how to save all attachments when an email arrives and move the email automatically. […]

  • Flow with "When an item is created or modified" triggers old events

    When you create a flow with SharePoint trigger like "When an item is created or modified", you want […]

  • Delete A SharePoint Group Using Microsoft Power Automate

    In this article, we will learn how to delete a SharePoint Group using Microsoft Power Automate. As […]

  • Facebook
  • Twitter
  • Instagram
  • Linkedin
  • Youtube
  • Email

@2020 - All Right Reserved. Designed and Developed by Dave Burrell


Back To Top
This website is using cookies. We use them to give you the best experience. If you continue using our website, we'll assume that you are happy to receive all cookies on this website.OkPrivacy policy