LinkedIn Signout on IE and SIGNIN in CHromo


#1

Hi,
I am new to UI. I was trying to SignIn and Signout using UI on both CHrome and IE browser.
The challenge is with Chrome, UI is not identifying SignIn button when i run the recording.

with IE, UI is not identifying the SignOut when i run the recording.

What am I missing?


#2

check your selectors properly for sign out.

dont record , rather use click activity and click on that button and check its selectors.

Use “Attach to live element” in the Selector window of Click Activity.


#3

thank you prassin. IE started working. But with chrome i am still facing the same problem. Interestingly after Opening Chrome with OpenBrowser,manual Click on Sign In on LinkedIn also not working.


#4

Have you installed the chrome extension?

Also use UiExplorer to see what uipath is finding as the selector


#5

hi @ssanjeeb,

Normally Internet Explorer 11 works a like a charm for carrying out automation.

So until and unless it is mandatory to use Chrome , use Internet Explorer 11.

Maybe Firefox would also be of help.


#6

Yes Chrome extension is installed. UI is able to write User ID and Password
but just not able to clink Sign In button.
It is giving following error.

Selector value is “”

Main has thrown an exception

Source: Click ‘SPAN’

Message: Cannot find the UI element corresponding to this selector:

Exception Type: SelectorNotFoundException

UiPath.Core.SelectorNotFoundException: Cannot find the UI element
corresponding to this selector: —>
System.Runtime.InteropServices.COMException: Cannot find the UI element
corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner exception stack trace —
at
UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext
faultContext, Exception propagatedException, ActivityInstance
propagatedFrom)
at
System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext
faultContext, Exception propagatedException, ActivityInstance
propagatedFrom)
at
System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor
executor, BookmarkManager bookmarkManager)


#7

use UiExplorer to find a more secure selector - you may need to play around with the selector to obtain it using the visual tree pane.

Sometimes Chrome provides back invalid selectors when simply clicking on them, another option would be to click on the selector editor and attach to live element as that makes it as generic as possible.


#8

Thank you Tim