Cannot find the UI element corresponding to this selector Error Message

Hello,

Actualy i work on Level 3 training Exercice

when i launch “RunAllTests” to test my workflow i receive following message : Invoke System1_Close workflow: Cannot find the UI element corresponding to this selector: <html title='ACME System 1 - Work .System1_Close.xaml (6.0 KB)

Good morning Jmo,

Try setting your Title to be dynamic.

In your current state, it will only log out if we’re on the "Work Items’ page.

Ste the title selector to “ACME*” and try again.

Thanks for your answer.
I apply your tips …but same error message.
In addition firstly i have this error message: Invoke SHA1Online_Login workflow: Object reference not set to an instance of an object.

Hi @jmo93,
While Editing the selector please Exclude “Parentid” under “aaname” .
PFASystem1_Close.xaml (6.1 KB)
It will work perfectly.
Best Regards,
Likith Rajesh.

Thanks a lot @likith_rajesh :slight_smile:
Your solution work. Now a continue to debug with others error messages

@jmo93,
May I know what are issues you are facing right now?
Please mark it as solution. May be it will helpfull to others.
Best Regards,
Likith Rajesh.

@likith_rajesh
I have now this following error
Error message: “message”: “Invoke SHA1Online_Login workflow: Object reference not set to an instance of an object.”
(I run “RunAllTests.xaml” on my process)

1 Like

@jmo93
Make sure the arguments In_ type you are passing to SHA1ONLINE_ Login work flow should initialize properly.
Best Regards,
Likith Rajesh.

1 Like

Good morning Jmo,

This error message usually means you’re passing a null (or empty) object to one of your workflows parameters. Try logging each of your input parameters (when applicable) to validate that none of them are null.

1 Like

Still not working. I continue to search. @likith_rajesh the in_type is correct i think. See screenshot under.

Good morning @chenderson
I try to log with “write line” and a see the url after process execution. Thanks for the idea :slight_smile: . Now i’m sure the parameters isn’t empty.
May the error has another origin. i’m still searching.
:+1:

1 Like

@jmo93,
Please share your workflow once
Best Regards,
Likith Rajesh.

1 Like

@likith_rajesh Ok i send you both linked . SHA1OnlineLogin.xaml (5.1 KB)
InitAllApplications.xaml (5.6 KB)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.