問題タブ [katalon]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
katalon-studio - 次のラベル値が正しい場合は、チェックボックスをオンにします
私はユーザー管理を取得しており、「test」のラベルの前にあるチェックボックスをオンにしたいと考えています。チェックボックスとラベルは別々です。チェックボックスとラベルが別の行に表示される可能性があるため、 //input[@type='checkbox'])[3] は使用できません。
チェックボックスのhtml:<input type="checkbox" class="ant-checkbox-input ng-valid ng-dirty ng-touched">
html ユーザー:<app-userprofile-title _ngcontent-ads-c205="" _nghost-ads-c77="" class="ng-star-inserted">test</app-userprofile-title>