Wednesday, November 08, 2017

UiPath Close Application Activity Value does not fall within the expected range.

While working in UiPath on a UCCX related RPA robot I found the Close Application activity was raising an exception

Main has thrown an exception

Source: Close application

Message: Value does not fall within the expected range.


I couldn't find a solid example of how to implement it correctly in the UiPath documentation but did find the UiPath Academy does provide a sample with the answer.  Ultimately you need to populate the Close Application Target.Selector property correctly.  It does not automatically inherit it from a Open Application activity.


Selector not populated
Selector populated (notepad.exe example)

You can find the appropriate value by one of two ways.  Simply using the Indicate on Screen feature of the Close Application activity to point to a running instance of your application will automatically populate the Target.Selector property.


No Screenshot Selected

Notepad selected (with error message)

Alternatively, you can use the UiExplorer on the Studio menu to find your application XML snippet and populate it manually.

I, for one, welcome our new RPA overloards.

36 comments:

  1. Hi There,

    Thanks for the tip, appreciate it. Your article definitely helped me to understand the core concepts.
    I’m most excited about the details your article touch based! I assume it doesn’t come out of the box, it sounds like you are saying we’d need to write in the handlers ourselves.
    Are there any other articles you would recommend to understand this better?
    I want to download and use UiPath Community Edition to study.
    I am planning to download it to the company’s computer where I work and use it.
    The company I work for has more than 250 computers and has sales of over $1 million throughout the company. but I want to download it for personal study.
    Its web base management platforms that enable remote control management and centralizing scheduling robot and processing. It facilitated by human-robot collaboration and business exception handling by centralized work queues.
    In the case, is it possible to use UiPath Community Edition?
    By the way do you have any YouTube videos, would love to watch it. I would like to connect you on LinkedIn, great to have experts like you in my connection (In case, if you don’t have any issues).
    Please keep providing such valuable information.

    Regards,
    Lee

    ReplyDelete
  2. Thanks a lot very much for the high your blog post quality and results-oriented help. I won’t think twice to endorse to anybody who wants and needs support about this area.
    uipath training in chennai

    ReplyDelete
  3. Hiya,


    Gasping at your brilliance! Thanks a tonne for sharing all that content. Can’t stop reading. Honestly!


    My main question is wheather it is possible to test those kind of Software (e.g. Outlook, Browsers, Adobe Reader ...) through their service layers?
    What do you thing about that? Is there even a way to test on the lower layers without any source code? Is it Continuous Delivery when implementing the automated GUI tests?

    Anyways great write up, your efforts are much appreciated.


    Gracias

    ReplyDelete
  4. Hello There,

    Hip Hip Hooray! I was always told that slightly slow in the head, a slow learner. Not anymore! It’s like
    I am trying to extract Text from an image. I have attached the screenshot of my workflow. It gives same error all the time. Let me know if i am doing something wrong or is there anything which is not configured properly. Uipath Training USA
    For abby, i have imported namespace as well, For MODI, i have already installed SharePoint designer and enabled Microsoft Document Imagining Feature. For google i only found , Google Core API and i have imported that namespace. But seems, none of the option is working.

    you have my back. I can’t tell you how much I’ve learnt here and how easily! Thank you for blessing me with this effortlessly ingestible digestible content.


    THANK YOU!! This saved my butt today, I’m immensely grateful.

    Kind Regards,
    Radhey

    ReplyDelete
    Replies
    1. Hello There,

      Allow me to show my gratitude bloggers. You guys are like unicorns. Never seen but always spreading magic. Your content is yummy. So satisfied. I started using
      UiPath Tutorial

      blog for my training practice.

      Am currently implementing for an organisation which has a branch in South Africa, so i created another business group because of their legislature over there. i need to know if there any concurrent programs one has to run any concurrent program after creating the business group so/if their statutory deductions would be automatically created and calculated.

      Thanks a lot. This was a perfect step-by-step guide. Don’t think it could have been done better.


      Kind Regards,
      Krishna kumar

      Delete
  5. Hi There,

    Smokin hot stuff! You’ve trimmed my dim. I feel as bright and fresh as your prolific website and blogs Uipath Training USA !


    I have 1 or 2 arrays to call in a config file in a sheet called Array. Is there a way to call and assign these arrays from the object?
    For example:
    Column A: Column B:
    Array1 {“Dan”, “Bob”, “Steve”, “Karen” }
    I want to pull this Array1 from the config sheet “Array” and use this Array of String in a options property in an Input Dialogue activity. How do I do this?
    To your screenshot:
    Is JArray a variable? What type if it is?
    Appreciate your effort for making such useful blogs and helping the community.

    Thanks a heaps,
    Kevin

    ReplyDelete
  6. Hi Buddy,


    Muchas Gracias Mi Amigo! You make learning so effortless. Anyone can follow you and I would not mind following you to the moon coz I know you are like my north star.


    I saw uTest are always recruiting for "automation test experts". It says that the expert will "lead the development of automated test scripts". The implication is that if someone is leading, there are members of the team who are being led? Is it possible to apply to be a member of such a team, or only to be the leader of the team? UiPath Training USA


    Appreciate your effort for making such useful blogs and helping the community.


    Thanks and Regards
    Ajeeth

    ReplyDelete
  7. Thank you sharing this kind of noteworthy information. Nice Post.

    Education
    Technology

    ReplyDelete

  8. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    RPA using UI PATH Training in Electronic City

    ReplyDelete
  9. Hi,
    Best article, very useful and well explanation. Your post is extremely incredible.Good job & thank you very much for the new information, i learned something new. Very well written. It was sooo good to read and usefull to improve knowledge. Who want to learn this information most helpful. One who wanted to learn this technology IT employees will always suggest you take Python Certification Course in Bangalore.

    ReplyDelete
  10. Sometimes is becomes very hard to take appreciation for your hard work. But sometime only few technical point makes your work worthwhile. Suggestion under this blog is quite good
    C and C++ Training Institute in chennai | C and C++ Training Institute in anna nagar | C and C++ Training Institute in omr | C and C++ Training Institute in porur | C and C++ Training Institute in tambaram | C and C++ Training Institute in velachery

    ReplyDelete
  11. Thanks, this is generally helpful.
    Still, I followed step-by-step your method in this
    ui path training
    ui path online training
    ui path course
    rpa online training

    ReplyDelete
  12. I'm usually to blogging and i actually appreciate your content. The article has genuinely peaks my interest. I'm going to bookmark your web page

    ReplyDelete
  13. Web Maxtor: Uipath Close Application Activity Value Does Not Fall Within The Expected Range. >>>>> Download Now

    >>>>> Download Full

    Web Maxtor: Uipath Close Application Activity Value Does Not Fall Within The Expected Range. >>>>> Download LINK

    >>>>> Download Now

    Web Maxtor: Uipath Close Application Activity Value Does Not Fall Within The Expected Range. >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  14. Marvelous occupation for distributing this kind of helpful web site. Your net log isnt without help valuable anyway it's far in addition in truth imaginative as well. thanks! Icare Data Recovery Free License Code

    ReplyDelete

  15. Your hard work is great, and I'm glad you shared it with me.
    https://vstlayer.com/valhalla-vintageverb-crack/

    ReplyDelete