קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Android UIConductor (UICD) הוא כלי שמאפשר למשתמשים ליצור תהליכי עבודה לבדיקות על ידי הקלטת אינטראקציות בממשק המשתמש ואימות תוכן המסך. OmniLab ATS תומך בהרצת בדיקות שיוצאו מ-UICD.
הגדרה
כדי להריץ בדיקות UICD באמצעות OmniLab ATS, צריך לייבא את ההגדרה של UIConductor, שמכילה את חבילות הבדיקות ואת פעולות המכשיר הנדרשות.
פותחים את הגדרות ועוברים לכרטיסייה קבוצות הגדרות.
לוחצים על Import (ייבוא) ובוחרים את קבוצת ההגדרות של UIConductor. יכול להיות שתצטרכו לתת הרשאה ל-OmniLab ATS לגשת ל-Google Cloud Storage.
איור 1. ייבוא ההגדרות של UIConductor
הרצת בדיקות
מתזמנים הרצת בדיקה של UIConductor Test (בקטע Test Suites >
UIConductor). אפשר להשתמש בחבילת הבדיקה הזו כדי להריץ כל בדיקת UICD שיוצאו.
איור 2. תזמון הרצה של בדיקת UICD
מוסיפים את Install UIConductor כדי להתקין את מנהלי ההתקנים הנדרשים של UICD.
איור 3. הוספת הפעולה הנדרשת במכשיר
בוחרים את בדיקות UICD שרוצים להריץ. כברירת מחדל, הקובץ אמור להיות ארכיון zip שמכיל קובצי בדיקה מסוג JSON שיוצאו מ-UICD.
איור 4. בחירת קובצי הבדיקה לביצוע
מפעילים את הבדיקה וממתינים לסיום. צילומי מסך, דיווחים על טעינה של קבצי XML ורשומות יומן שנוצרו במהלך ההרצה יהיו זמינים בקובצי הפלט.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Run UIConductor tests with OmniLab ATS\n\n[Android UIConductor](https://github.com/google/android-uiconductor)\n(UICD) is a tool that lets users create testing workflows by recording UI\ninteractions and validating the screen content. OmniLab ATS supports running\ntests exported from UICD.\n| **Note:** Avoid sharing the same host machine for both OmniLab ATS and UICD as this could introduce unnecessary conflict.\n\nSetup\n-----\n\nTo run UICD tests with OmniLab ATS, you must import the **UIConductor**\nconfiguration, which contains the necessary test suites and device actions.\n\n1. Open **Settings** and navigate to the **Config Sets** tab.\n\n2. Click **Import** and select the **UIConductor** config set. You might need to\n authorize OmniLab ATS to access Google Cloud Storage.\n\n **Figure 1.** Importing the UIConductor configuration\n\nRun tests\n---------\n\n1. Schedule a **UIConductor Test** test run (under **Test Suites** \\\u003e\n **UIConductor**). This test suite can be used to run any exported UICD tests.\n\n **Figure 2.** Scheduling a UICD test run\n | **Note:** UICD global variables can be set by adding `--global-variables default \"`\u003cvar translate=\"no\"\u003ekey=value,key2=value2,...\u003c/var\u003e`\"` to the command line. Do not include the $ prefix in the key names.\n2. Add the **Install UIConductor** to install the necessary UICD drivers.\n\n **Figure 3.** Adding the required device action\n3. Select the UICD tests to run. By default, the file is expected to be a zip\n archive containing JSON test files exported from UICD.\n\n **Figure 4.** Selecting the test files to execute\n | **Note:** To export your test files from UICD, either right-click a test case or folder and **Download** or click **Project** \\\u003e **Export Zip** to download all test cases marked as \"top level.\"\n4. Start the test run and wait for completion. Screenshots, XML dumps, and logs\n generated during the run will be available in the output files."]]