<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Java Application automation - Date picker in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87052#M1796</link>
    <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
before posting this thread I tried automating this date picker I did it right for year field and month field but still had issues with picking day, but your way is a masterpiece, Thank You so much Dev!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Jun 2022 09:38:00 GMT</pubDate>
    <dc:creator>SamLima</dc:creator>
    <dc:date>2022-06-09T09:38:00Z</dc:date>
    <item>
      <title>Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87046#M1790</link>
      <description>Any suggestions on how to automate date picker?&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32971.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33067iF9057411C732FF90/image-size/large?v=v2&amp;amp;px=999" role="button" title="32971.png" alt="32971.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87046#M1790</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-06-08T13:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87047#M1791</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53497"&gt;@SamLima&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Usually, when you have a date picker (even in a java app or in a web app​) you can type directly the date that you want without selection in the frame.&lt;BR /&gt;&lt;BR /&gt;First you need is to know the format date (e.i. month / day / year...) and then format and type in the control.&lt;BR /&gt;&lt;BR /&gt;Try it!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See you in the Community, bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Pablo Sarabia&lt;BR /&gt;Solution Manager &amp;amp; Architect&lt;BR /&gt;Altamira Assets Management&lt;BR /&gt;Madrid&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87047#M1791</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2022-06-08T17:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87048#M1792</link>
      <description>Hi Sam,&lt;BR /&gt;&lt;BR /&gt;For this application, if you are using Java spying mode after installing Java Access Bridge driver on your machine then the following attributes should identify your element:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32904.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33002i1591E124A356F6FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="32904.png" alt="32904.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32905.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33003i3FFE915EC8F102D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="32905.png" alt="32905.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Simply use a Writer stage here and pass the date in &lt;CODE&gt;"dd/MM/yyyy"&lt;/CODE&gt; format:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32906.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33004i1ED3C7A0B103AE51/image-size/large?v=v2&amp;amp;px=999" role="button" title="32906.png" alt="32906.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I would recommend you to use Java Mode as UIA mode is bit unreliable in this application at times I have seen in past.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Steps For Enabling Java Mode:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;If you can't see the Java mode on your Blue Prism, then follow the below steps:&lt;BR /&gt;&lt;BR /&gt;1) Download the Java 8 SDK from Oracle website for 32 bit : &lt;A href="https://www.oracle.com/in/java/technologies/javase/javase8-archive-downloads.html" target="_blank" rel="noopener"&gt;JAVA SE 8&amp;nbsp;&lt;/A&gt; and then install it on your machine.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: You would need to register an Oracle account in order to download it.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32907.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33005i8D91959F1A515883/image-size/large?v=v2&amp;amp;px=999" role="button" title="32907.png" alt="32907.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;NOTE: I am downloading 32 bit since Blue Prism expects a 32 dll driver for JAB.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;2) Now, install the Java Access Bridge (2.0.1) from here: &lt;A href="https://www.oracle.com/java/technologies/javase/javase-tech-access-bridge.html" target="_blank" rel="noopener"&gt;JAB 2.0.1&lt;/A&gt; and then install it on your machine.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32908.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33007iFFF810D792CE0A6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="32908.png" alt="32908.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: JAB 2.0.2 has some bugs so do not install that&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3) Once you have installed both of them, Go to Control Panel -&amp;gt; Ease Of Access Center -&amp;gt; Make It Easer To Focus On Task and check the Enable Java Access Bridge option&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32909.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33008iEDAA91AABBB51723/image-size/large?v=v2&amp;amp;px=999" role="button" title="32909.png" alt="32909.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;4) Now, copy the WindowsAccessBridge-32.dll file from: &lt;CODE&gt;C:\Program Files (x86)\Java\jdk1.8.0_202\jre\bin&lt;/CODE&gt; to your Blue Prism installation folder:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32910.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33011iF868AA1821CA93DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="32910.png" alt="32910.png" /&gt;&lt;/span&gt;&lt;BR /&gt;5) Now when you create a new business object, choose the Java Automation option in the Application Modeler inside your Blue Prism, give all the input parameters such as the file path of your application and you should be able to see Java Mode while spying:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32911.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33010i8577F0BD8AC7B806/image-size/large?v=v2&amp;amp;px=999" role="button" title="32911.png" alt="32911.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;6) Spy elements using Java Mode for this application:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32913.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33009i6BBA20B5C7F3B467/image-size/large?v=v2&amp;amp;px=999" role="button" title="32913.png" alt="32913.png" /&gt;&lt;/span&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;WonderBotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 00:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87048#M1792</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-06-09T00:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87049#M1793</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/66"&gt;@PabloSarabia&lt;/a&gt;, &lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
yes I tried this way, I format the date to be valid, bu I was curious about trying date picker​&lt;BR /&gt;&lt;BR /&gt;thank you&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87049#M1793</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-06-09T06:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87050#M1794</link>
      <description>Thank you Devneet
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87050#M1794</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-06-09T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87051#M1795</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53497"&gt;@SamLima&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Also, out of curiosity I did automate the date picker approach as well for your knowledge using the Java mode &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You can see below is the sample workflow for that.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Sample Workflow:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32926.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33024iA7D8FFEC33EAF3FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="32926.png" alt="32926.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Steps To Follow:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;Step-I)&lt;/STRONG&gt; So, here I am taking a date value as an input along with the window title. I call the 'Attach' page and then check if the Win32 element which surrounds my application exists or not.​​​ If it does I use a multi calculation stage to break down the values of the date into individual components of day, month and year as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32927.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33025i0E53C728C48A2309/image-size/large?v=v2&amp;amp;px=999" role="button" title="32927.png" alt="32927.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-II) &lt;/STRONG&gt;So now once, I have got the values first I click on the date picker button as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32928.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33026iDAD15FD16C70402B/image-size/large?v=v2&amp;amp;px=999" role="button" title="32928.png" alt="32928.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-III) &lt;/STRONG&gt;Now, I select the month name from the dropdown with the help of '&lt;STRONG&gt;Month&lt;/STRONG&gt;' data item as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32929.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33028i0A10AFD8FE0FDE10/image-size/large?v=v2&amp;amp;px=999" role="button" title="32929.png" alt="32929.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-IV) &lt;/STRONG&gt;After that, I select the year field as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32930.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33030iD5916B60389B1DF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="32930.png" alt="32930.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;For the year field, I select all the text starting from first character till 4th as I know year will always have 4 characters in total. Once text is selected I delete them all using "&lt;STRONG&gt;BACKSPACE&lt;/STRONG&gt;" key, then I set the value of '&lt;STRONG&gt;Year&lt;/STRONG&gt;' data item and then press "&lt;STRONG&gt;TAB&lt;/STRONG&gt;" key to activate the element&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-V) &lt;/STRONG&gt;Then I click on the day field which has a dynamic parameter for "&lt;CODE&gt;VirtualName&lt;/CODE&gt;" attribute where I pass in the value of '&lt;STRONG&gt;Day&lt;/STRONG&gt;' data item as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32931.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33052i43B51864CA8A9729/image-size/large?v=v2&amp;amp;px=999" role="button" title="32931.png" alt="32931.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;Step-VI) &lt;/STRONG&gt;Lastly, I check the date field to validate if the value that got set is equal to my input date parameter or not:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32932.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/33032i5CBEA6708CB801BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="32932.png" alt="32932.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Though setting up the text value directly can be a faster approach but yes if you want to properly validate each step and make sure you don't input anything incorrect this definitely you can follow as well.&lt;/P&gt;
&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;WonderBotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 07:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87051#M1795</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-06-09T07:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Java Application automation - Date picker</title>
      <link>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87052#M1796</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;
before posting this thread I tried automating this date picker I did it right for year field and month field but still had issues with picking day, but your way is a masterpiece, Thank You so much Dev!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jun 2022 09:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Java-Application-automation-Date-picker/m-p/87052#M1796</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-06-09T09:38:00Z</dc:date>
    </item>
  </channel>
</rss>

