0

クロームにてVMware vSphereというソフトから日々データのダウンロードをするシナリオを作成しようとしております。

ダウンロードする日付の設定のところで日付の値をクロームの画面に渡すことができず悩んでおります。

データをダウンロードする日付の設定部分は手入力はできず、クリックをしてカレンダーの画面から日付を選択するようになっております。

そこで「エミュレータ」→「文字列送信」や「値の設定」を使用したのですが日付を渡すことができません。尚、時間の設定部分は「値の設定」

で時間の値を渡すことができました。

初心者でHTMLなどよくわかっておりません。

画面の画像とHTMLを貼り付けました。HTMLの★のある部分が値を設定したい部分になります。何かいい方法はないでしょうか。。

よろしくお願いします。

                          <table>
                                 <tbody><tr>
                                    <td>
                                       <label class="custom-time-label">
                                          <input type="radio" class="custom-time-type ng-pristine ng-untouched ng-valid ng-not-empty" name="chart-timespan-type" data-test-id="custom-type-last-radio" ng-value="ctrl.chartConstants.customTimeTypes.LAST" ng-model="ctrl.chartTimespan.customPeriodType" value="LAST" aria-invalid="false" style="">
                                          <span data-test-id="custom-type-last-label">
                                             過去:
                                          </span>
                                       </label>
                                    </td>
                                    <td>
                                       <div data-test-id="custom-timespan-type-last-container" ng-class="{'disabled-container':
                                          ctrl.chartTimespan.customPeriodType !==
                                          ctrl.chartConstants.customTimeTypes.LAST}" class="horizontal-flex-container disabled-container" style="">
                                          <input type="number" class="custom-time-input ng-pristine ng-untouched ng-valid ng-not-empty" data-test-id="custom-type-last-unit-count" ng-model="ctrl.chartTimespan.customPeriodUnitsCount" ng-blur="ctrl.normalizeCustomTimespanValue()" aria-invalid="false" style="">
                                          <select class="custom-time-input custom-time-select ng-pristine ng-untouched ng-valid ng-not-empty" ng-model="ctrl.chartTimespan.customPeriodUnits" ng-options="option.id as option.label for option
                                             in ctrl.chartTimespanUnitOptions" aria-invalid="false" style=""><option label="時間" value="string:HOUR" selected="selected">時間</option><option label="日" value="string:DAY">日</option><option label="週" value="string:WEEK">週</option><option label="ヶ月" value="string:MONTH">ヶ月</option></select>
                                       </div>
                                    </td>
                                 </tr>
                                 <tr>
                                    <td>
                                       <label class="custom-time-label">
                                          <input type="radio" class="custom-time-type ng-valid ng-not-empty ng-dirty ng-valid-parse ng-touched" name="chart-timespan-type" data-test-id="custom-type-period-radio" ng-value="ctrl.chartConstants.customTimeTypes.PERIOD" ng-model="ctrl.chartTimespan.customPeriodType" value="PERIOD" aria-invalid="false" style="">
                                          <span class="custom-time-label-text">
                                             開始日:
                                          </span>
                                       </label>
                                    </td>
                                    <td>
                                       <div data-test-id="custom-timespan-type-period-container" ng-class="{'disabled-container':
                                          ctrl.chartTimespan.customPeriodType !==
                                          ctrl.chartConstants.customTimeTypes.PERIOD}" class="horizontal-flex-container" style="">
                                         ★<input data-test-id="custom-timespan-type-period-from-date" type="text" class="custom-time-input ng-pristine ng-valid hasDatepicker ng-not-empty ng-touched" vx-date-picker="" ng-model="ctrl.chartTimespanFromDate.date" readonly="readonly" id="dp1574647660496" aria-invalid="false" style="">
                                          <input data-test-id="custom-timespan-type-period-from-time" type="text" class="custom-time-input ng-pristine ng-untouched ng-valid ng-not-empty" vx-time-picker="" ng-model="ctrl.chartTimespanFromDate.time" aria-invalid="false" style="">
                                       </div>
                                    </td>
                                 </tr>
                                 <tr>
                                    <td>
                                       <div class="custom-time-label">
                                          <span class="custom-time-label-text">
                                       終了日:
                                          </span>
                                       </div>
                                    </td>
                                    <td>
                                       <div ng-class="{'disabled-container':
                                       ctrl.chartTimespan.customPeriodType !==
                                       ctrl.chartConstants.customTimeTypes.PERIOD}" class="horizontal-flex-container" style="">
                                          <input data-test-id="custom-timespan-type-period-to-date" type="text" class="custom-time-input ng-pristine ng-untouched ng-valid hasDatepicker ng-not-empty" vx-date-picker="" ng-model="ctrl.chartTimespanToDate.date" readonly="readonly" id="dp1574647660497" aria-invalid="false" style="">
                                          <input data-test-id="custom-timespan-type-period-to-time" type="text" class="custom-time-input ng-pristine ng-untouched ng-valid ng-not-empty" vx-time-picker="" ng-model="ctrl.chartTimespanToDate.time" aria-invalid="false" style="">
                                       </div>
                                    </td>
                                 </tr>
                                 <tr>
                                    <td></td>
                                    <td class="iso-8601-hint" ng-class="{'disabled-container':
                                       ctrl.chartTimespan.customPeriodType !==
                                       ctrl.chartConstants.customTimeTypes.PERIOD}" style="">
                                       (日付と時間は ISO 8601 形式です)
                                    </td>
                                 </tr>
                              </tbody></table>

この質問は解決済みのためクローズされています。
anothersolution 新しいコメントを投稿
回答とコメントは、会員登録(無料)で閲覧できるようになります。