Question

10
Replies
555
Views
Moritaka Kanai (kanam)
ServiceNow
Platform Solution Consultant
ServiceNow
JP
kanam Member since 2012 58 posts
ServiceNow
Posted: February 20, 2017
Last activity: May 26, 2017
Posted: 20 Feb 2017 4:01 EST
Last activity: 26 May 2017 20:44 EDT
Closed
Solved

Dropdown invoking jQuery

Hi. Can we somehow automate the following Web page to select the date of birth?
https://www.orixlife.co.jp/sim?index=5&p=3G&p=4C&p=4A&p=1V&genderctl=1

When it is operated by human, it works fine. But if you use it from Robot just with using SelectItemByXxx methods, the submit button in this page cannot be pushed.

It seems that this page invokes jQuery each time we choose Year and Month:

<label><strong>生年月日</strong>&nbsp;
<select name="year" id="input-dialog-year" data-bind="options: birthdayYear, optionsText: 'text', optionsValue: 'value', value: selectedBirthdayYear,event: { change: $root.setMonth()}"></select>年
</label>
<label>
<select name="month" id="input-dialog-month" data-bind="options: birthdayMonth, optionsText: 'text', optionsValue: 'value', value: selectedBirthdayMonth,event: { change: $root.setDay()}"></select>月
</label>
<label>
<select name="date" id="input-dialog-date" data-bind="options: birthdayDay, optionsText: 'text', optionsValue: 'value', value: selectedBirthdayDay"></select>日
</label>

To invoke the event, I tried using RaiseEvent method to Year and Month dropdowns with the following options, so far with no luck:

- "onselect"
- "onchange"
- "onblur"

Any ideas to automate this?

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.