Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Why would a UIFlow that works (tests out) in the Selenium IDE behave differently when that UIFlow is called from a simple test Flow

(1) ShareShare
ReportReport
Posted on by 142

I have spent the day getting familiar with UI Flows and testing them out on a JDEdwards Sales Order Entry process.

 

I have successfully gotten UIFlow set up and operating including the UIFlow and Selenium IDE extensions and a local On-Premises Data Gateway operating (more on that later, as my present configuration is more of a "development" environment and the Production environment would need to be set up differently. 

 

I have what I would call a medium complexity Sales Order Entry form to fill in where I have collected all of the required data using PowerApps and some other Flows and all of the data is stored in CDS.  I have built a simplified "happy path" version of the required UI Flow which is working nicely in the Selenium IDE in test mode. 

 

When I try to call this UIFlow from another standard "working" Flow (right now just a a Manual Flow Start step and a Run a UI flow for web step), the UI Flow seems to behave very differently in that mode from how it behaves from within the Selenium IDE.  What I am seeing when it runs in Attended mode is, for example, a field that needs to filled in on the web page is filled, it is subsequently blanked out (this happens to be the SoldTo and ShipTo numbers) so the web form errors out because it can't find valid values.  Once I get that error of course the whole form is bolluxed up but then it seems that it can't locate the next field to go to enter the next set of values.

 

It seems quite strange because after a little tweaking, the UIFlow works beautifully in the IDE.  I am not passing or returning any values yet, I am just trying to get the UIFlow to execute successfully from the calling Flow.

 

Anyone have any thoughts on this?  What I am trying to decide is if UI Flow is "ready for prime time" or if I am going to have to wait any significant time before the product is stable enough to use with clients.  Alternatively, I have the option of calling JDE Orchestrator which I am trying to avoid or using another RPA tool that is more stable and predictable.

 

If there is anyone out there with the right experience to make this work without a lot of "pain and agony" or "strange and unnatural acts", just contact me as there is paid work here too on this and other similar integration/connections.

 

Thanks,

Mark

  • CRMDynamics Profile Picture
    CRMDynamics 5 on at
    Re: Why would a UIFlow that works (tests out) in the Selenium IDE behave differently when that UIFlow is called from a simple test Flow

    I have a similar issue using Power Automate Desktop (Preview). When running directly from the desktop application I get the desired results. Executing the UI Flow from Power Automate Web does not work the same and I am unable to populate a field on the web page the same way as with the desktop application. I can click into the field manually and see the keys being sent, but without this manual intervention I see nothing being populated in the field and the UI Flow fails. Also takes about 15-20 seconds to start the UI Flow when calling it from web, and running directly on the desktop version it runs almost instantaneously.

  • Pedro_A1onso Profile Picture
    Pedro_A1onso 2 on at
    Re: Why would a UIFlow that works (tests out) in the Selenium IDE behave differently when that UIFlow is called from a simple test Flow

    I have the exact same problem!

     

    It even runs slowly when I execute it from the flow. 😞

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard