cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shashankpuli
Helper II
Helper II

click link on web page or press button on wegpage commands are not working

Hi experts,

 

Im getting following message when I use click link on web page or press button on wegpage commands . Im using web browser instance in command. Im trying click on below element.. Any Suggestions 

Shashankpuli_0-1618419015749.png  

Shashankpuli_1-1618419140103.png

 

 

Error message 

Robin.Core.ActionException: Click link on web page failed. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.ClickLinkOnWebPage(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant cssSelectorForLinkElement, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.ClickLinkOnWebPage(Variant webBrowserInstance, Variant cssSelectorOfElementToClick, Variant dialogButtonToPress, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.ClickBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

2 REPLIES 2
fraenK
Memorable Member
Memorable Member

Seems like the button wasn't found. You'll need to test and probably edit the button selector, maybe something is dynamically changing every time you load the site. 

Pratik6
Frequent Visitor

Hello @Shashankpuli ,

 

I was facing similar problem for upload attachment. Please check below post for solution.

https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Upload-attachment-in-D365FO-using-web-rec...

 

Also if button is not found then as mentioned by @fraenK, in button selector, select name instead of id. (ids can have dynamic values). I also selected id but with 'start with' operator.

Pratik6_0-1618732003452.png

 

 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,742)