cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Automated Powerapps testing

Hi All,

 

I am looking out for a tool or approch by which we can automate the testing of PowerApps. How can we perform load testing on powerapps.

 

Thanks!

 

Regards,

PSK

10 REPLIES 10
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

Would you please describe more about what you are trying to test? What do you want to achieve? Detailed steps would be even better. 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NieGreJoh
Frequent Visitor

Have you found any solution?

PaulD1
Super User
Super User

I'm experimenting with using Selenium IDE with PowerApps but straight away ran into some issues with selecting items in Galleries and populating Date Pickers. Early days, so maybe I can find a solution, but right now it looks like only a partial solution.

Selenium is available as an Add-In for Chrome and lets you record yourself performing tasks in a web browser, and then automatically repeat those tasks.

It appears to work with some PowerApps controls, but not all. It could be useful for semi-automated testing (with the user taking over when incompatible tasks need to occur) or load-testing if you speciflically develop compatible screens.

Anonymous
Not applicable

Good day PaulD1

I notice you have eexperience testing PowerApps with Selenium and facing some issues.

Is any other solutions to Automate PowerApps testing ? Will appreciate your advice!

  

I am currently experiencing issues with Automate drop down boxes or combo boxes with PowerApp.

Using Katalon Studio and Katalon Automated Recorder

Unable to find element for drop down 

When selecting element in IE 11 following code below comes and  

 

<div tabindex="12" title="TeamId" class="appmagic-dropdownLabelText no-focus-outline" role="combobox" aria-describedby="dropdown_siena_3bea9304963e952_instructions" aria-activedescendant="appmagic-dropdownFlyoutdropdown_siena_3bea9304963e952_0" aria-owns="appmagic-dropdownFlyoutdropdown_siena_3bea9304963e952" style="padding: 10px;" data-bind="&#10; attr: {&#10; title: properties.Tooltip() || null,&#10; role: displayMode() === AppMagic.Constants.DisplayMode.View ? null : 'combobox',&#10; 'aria-label': properties.AccessibleLabel() || null,&#10; 'aria-disabled': displayMode() === AppMagic.Constants.DisplayMode.View ? null :isDisabled,&#10; 'aria-readonly': displayMode() === AppMagic.Constants.DisplayMode.View ? null :isReadOnly,&#10; 'aria-owns': 'appmagic-dropdownFlyout' + id,&#10; 'aria-describedby': id + '_instructions'&#10; },&#10; text: selectedValue,&#10; style: {&#10; paddingTop: properties.PaddingTop,&#10; paddingRight: properties.PaddingRight,&#10; paddingBottom: properties.PaddingBottom,&#10; paddingLeft: properties.PaddingLeft&#10; }&#10; " touch-action="pan-x pan-y">Select a team</div>  

 

 

Thank you 

Igor 

 

 

Hi @Anonymous 
Sorry, nothing more to report on Selenium, we are just trying to be more disciplined about how we build apps (designing them in a hopefully more resilient manner) and doing more manual testing.

On the manual testing front, this looks interesting, though we haven't had a chance to try it out yet:

https://www.youtube.com/watch?v=VSACs4QRnuI 

This is something that might be worth taking a look at from a testing perspective:

http://sikulix.com/

It uses OCR to help recognise the locations of controls on the screen and click or enter test data.

Somewhat complex to setup for us low-code folk (not a simple install, requires lots of pre-requisites) but I can see it being a useful tool to partially automate the testing for a mature App (something where the screen layout isn't routinely being modified).

Anonymous
Not applicable

Hello,

I've also been using Selenium with PowerApps to some success. Don't listen to the comments out in the nether that say it doesn't work. It can be very tricky because many of the elements in the canvas apps are abstracted and obfuscated by shadow dom elements and iframes. Learning how to parse through these kinds of elements can make automated testing with custom scripts successful.

 

With the new test framework coming out though, it should be easier for new developers.

Definitely not impossible @Anonymous but it has its challenges. As you referenced, we have just released v1 of the Power Apps Test studio, a low-code solution to help makers build tests for their apps. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/test-studioWould love to hear any feedback on your experiences when using the test studio - we have a separate discussion thread to provide feedback. 

Hey Anonymous,

Thanks for pointing this out.

We have a client requirement to automate power apps and test studio in power apps is still in Experimental mode. I've also started power apps automation with selenium and ran into the basic issues.

It is not locating the web element, is it possible for you to provide some initial guidance.

 

Would be very helpful.

Thanks. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,039)