[Urgent] Not able to select current date in web based calender

veerabhadra

New Member
When I am trying to automate web based calendar facing issue. where it don't have writer option and when I click on on date immediately calendar will popup and need to choose date. can you please help me to automate this. I checked this kind of questions but not getting solutions. please tell me any one free timings so that I can share my screen also to solve this problem.
 

Attachments

  • spy.PNG
    6.3 KB · Views: 95

aartityagi

New Member
Hi Veerabhadra,

I am also facing challenge in same scenario.Could you please help me if you got any solution for this requirement.

Thanks in advance

Regards,
Aarti Tyagi
 

Sachin_Kharmale

Active Member
Hi,
You need to spy calendar which is open as pop up
you can change month using side arrow button and select date using dynamic attribute.

Regards,
Sachin
 

Sachin_Kharmale

Active Member
Hi Priyaarvind,
You can use HTML or AA spy mode of blue prism .
after spying make some of the attribute as dynamic so you can manage it dynamically

View attachment 1558081804142.png


In the above screen shot i have spied calendar pop up using html mode .
we spy one date and make it as dynamic so it can identify all the date present in calendar.

Regards,
Sachin
 
Thanks sachin again for your help. I cant capture the calendar in HTML Spy mode. i can only spy on each individual element.

I did spy on one of the element and tried to pass the value , but it failed to select any date

attached screen shot for your reference.
 

Attachments

  • Capture.JPG
    24.8 KB · Views: 60

Sachin_Kharmale

Active Member
hi,
On using which mode you are able spy single Date Value of calendar
spy single block and send Screen shot of application molder which will be help full.

Regards,
Sachin
 
Thru UI Automation mode i can spy whole block.. but there is no value dynamic attribute to set the value.. attached screenshot
 

Attachments

  • Capture.JPG
    186.2 KB · Views: 48

Sachin_Kharmale

Active Member
Try to spy single date as mentioned in screen shot
View attachment 1558087715974.png

and then make it as dynamic.

if above solution will not work then you can use Inject JavaScript
using Java script you can directly Passed calendar date without spy that calendar popup.

I Hope you it will helpfull.

Best,
Sachin
 
Thanks Sachin thats why i did it in the first instance.. html mode - spying on single calendar element and passing the value as dynamic attribute.. it doesnt work..

not sure how to use inject Java Script..
 

Sachin_Kharmale

Active Member
Hi,

I have some screen shot it will helpful to you .
First spy submit button of your web form using html mode.
use navigation stage and find out option Invoke Java script and Insert Java Script Fragment
1. Insert Java Script Fragment on element.
2.Then Invoke Java Script on that Element .

View attachment 1558088347403.png
Fig 1- Basic Java Script Invocation Flow

View attachment 1558088398653.pngFig 2- Script Data item which contain java script code that we need to inject on element
Here on 3 rd line i have selected calendar date using java script of goIndigo.com website
View attachment 1558088452843.png
Fig 3-Insert Java script on html element

View attachment 1558088500265.png
fig 4- Invoke Java script on element .
Note- Java script code will changed according your requirement.
You can also search more about injecting Java script on Internet .
also there are several videos also present on you tube .

I hope you it will help full to you.

Best,
Sachin
 
Top