タグ結果

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data
important

Axe DevTools Mobile ダッシュボードから Axe Developer Hub への移行の一環として、タグは廃止されました。テストでタグを使用している場合、それらはこれまでどおり機能します。セッションでタグが初めて使用されたとき、Appium サーバーログに非推奨警告が表示されます。タグは 2026 年 11 月のリリースで完全に削除されるため、タグを設定パラメーターとして削除し始めることをお勧めします。

タグ付けは、Axe DevTools Mobile ダッシュボード内でスキャンを整理、共有、検索するのに役立つ機能です。チームにとって有益なタグには、チーム名、ビルド番号、シミュレーターバージョンなどがあります。

タグ付きのスキャンは、組織内のすべての人にダッシュボードで表示されますが、タグがないスキャンは作成したユーザーにのみ表示されます。タグはローカルのみの結果には影響を与えません。

タグ付きスキャンを送信する

設定オブジェクトにキーtagsを追加し、追加したいタグの値を入力してください。以下のJavaScriptの例では、2つのタグ「v0.0.1」と「iOS 17.4」を使用してスキャンがダッシュボードにプッシュされます。注:タグはaxeSettingsにscanNameキーを使用しても、使用しなくても追加できます。

const axeSettings = {
  apiKey: '<DEQUE_APIKEY>',
  projectId: '<DEQUE_PROJECT_ID>'
}
const scanSettings = {
  scanName: '<YOUR_SCAN_NAME>',
  tags: ['v0.0.1', 'iOS 17.4']
  // scanName and tags are deprecated. These values only label dashboard uploads, and have no effect on local results.
}
...
await driver.execute('mobile: axeStartSession', axeSettings)
// authentication settings are passed in once to `axeStartSession`
...
const result = await driver.execute(
      'mobile: axeScan',
      scanSettings
// deprecated features are not available on the session level and are still passed to `axeScan`
)