08-06-22 02:16 PM
Answered! Go to Answer.
09-06-22 08:29 AM
Hi @SamLima
Also, out of curiosity I did automate the date picker approach as well for your knowledge using the Java mode 🙂 You can see below is the sample workflow for that.
Sample Workflow:
Steps To Follow:
Step-I) 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:
Step-II) So now once, I have got the values first I click on the date picker button as shown below:
Step-III) Now, I select the month name from the dropdown with the help of 'Month' data item as shown below:
Step-IV) After that, I select the year field as shown below:
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 "BACKSPACE" key, then I set the value of 'Year' data item and then press "TAB" key to activate the element
Step-V) Then I click on the day field which has a dynamic parameter for "VirtualName
" attribute where I pass in the value of 'Day' data item as shown below:
Step-VI) Lastly, I check the date field to validate if the value that got set is equal to my input date parameter or not:
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.
08-06-22 06:33 PM
09-06-22 01:20 AM
"dd/MM/yyyy"
format:C:\Program Files (x86)\Java\jdk1.8.0_202\jre\bin
to your Blue Prism installation folder:09-06-22 07:01 AM
09-06-22 07:03 AM
09-06-22 08:29 AM
Hi @SamLima
Also, out of curiosity I did automate the date picker approach as well for your knowledge using the Java mode 🙂 You can see below is the sample workflow for that.
Sample Workflow:
Steps To Follow:
Step-I) 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:
Step-II) So now once, I have got the values first I click on the date picker button as shown below:
Step-III) Now, I select the month name from the dropdown with the help of 'Month' data item as shown below:
Step-IV) After that, I select the year field as shown below:
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 "BACKSPACE" key, then I set the value of 'Year' data item and then press "TAB" key to activate the element
Step-V) Then I click on the day field which has a dynamic parameter for "VirtualName
" attribute where I pass in the value of 'Day' data item as shown below:
Step-VI) Lastly, I check the date field to validate if the value that got set is equal to my input date parameter or not:
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.
09-06-22 10:38 AM