با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Robo test یک ابزار تست است که با Firebase Test Lab یکپارچه شده است. تست Robo ساختار رابط کاربری (UI) برنامه شما را تجزیه و تحلیل می کند و سپس آن را به صورت روشمند بررسی می کند و به طور خودکار فعالیت های کاربر را شبیه سازی می کند. تست Robo زمانی که از آن برای آزمایش یک برنامه در پیکربندی دستگاه خاص با تنظیمات یکسان استفاده میکنید، همیشه همان فعالیتهای کاربر را به همان ترتیب شبیهسازی میکند. این رویکرد آزمایشی تکرارپذیر به شما امکان میدهد از تست Robo برای اعتبارسنجی رفع اشکال و آزمایش رگرسیون استفاده کنید.
تست Robo فایلهای گزارش را ضبط میکند، مجموعهای از اسکرینشاتهای حاشیهنویسی را ذخیره میکند، و سپس یک ویدیو از آن اسکرینشاتها ایجاد میکند تا عملیات شبیهسازیشده کاربر را که انجام داده است به شما نشان دهد. این گزارشها، اسکرینشاتها و ویدیوها میتوانند به شما در تعیین علت اصلی خرابی برنامه کمک کنند. این ویژگیهای تست Robo همچنین میتواند به شما در یافتن مشکلات رابط کاربری برنامهتان کمک کند.
علاوه بر اجرای تستهای معمولی Robo، میتوانید تستهای خود را با استفاده از اسکریپتهای Robo که یکی از ویژگیهای تستهای Robo هستند، سفارشی کنید. برای کسب اطلاعات بیشتر، به اجرای اسکریپت Robo مراجعه کنید.
آمار خزیدن تست Robo
برای کمک به تفسیر نتایج تست Robo خود، تست Robo آمار را در طول هر خزیدن تست ثبت می کند. Test Lab آمار را در بالای برگه تست Robo در صفحه نتایج آزمون شما نمایش می دهد:
اقدامات: تعداد کل اقدامات انجام شده در طول خزیدن، از جمله اقدامات اسکریپت Robo، اقدامات میمون و دستورالعمل های Robo.
صفحه نمایش: تعداد صفحات متمایز بازدید شده در طول خزیدن.
Test Lab همچنین از آمار برای ایجاد یک نمایش بصری از تست Robo در قالب یک نمودار خزیدن استفاده می کند. گراف دارای صفحه نمایش به عنوان گره و اقدامات به عنوان لبه است. با دنبال کردن لبههای بین صفحهها، میتوانید ایدهای درباره نحوه عبور تست Robo از برنامه شما در طول خزیدن داشته باشید.
تایم اوت تست Robo
بسته به پیچیدگی رابط کاربری برنامه شما، تست Robo ممکن است پنج دقیقه یا بیشتر طول بکشد تا مجموعه کاملی از تعاملات رابط کاربری را تکمیل کند. توصیه می کنیم مدت زمان تست را برای اکثر برنامه ها حداقل 120 ثانیه (2 دقیقه) و برای برنامه های نسبتاً پیچیده 300 ثانیه (5 دقیقه) تنظیم کنید. مقدار پیشفرض تایم اوت 300 ثانیه (5 دقیقه) برای آزمایشهایی است که از کنسول Firebase و 900 ثانیه (15 دقیقه) برای آزمایشهایی که از خط فرمان gcloud اجرا میشوند.
خطاهای زمان راهاندازی برنامه
اگر شروع برنامه شما زمان زیادی طول بکشد، تست Robo می تواند خطا ایجاد کند و نمی تواند برنامه شما را بخزد. این فقط در مواردی که زمان راهاندازی بسیار طولانی باشد اتفاق میافتد و تنها با بازبینی برنامهتان برای شروع سریعتر آن قابل حل است.
کنترل بیشتر با اسکریپت های Robo
گاهی اوقات شما نیاز به کنترل بیشتری روی تست های خود دارید. برای مثال، ممکن است بخواهید یک سفر مشترک کاربر را آزمایش کنید یا ورودی رابط کاربری خاصی مانند نام کاربری و رمز عبور را ارائه دهید. اسکریپت های Robo می توانند کمک کنند. برای کسب اطلاعات بیشتر درباره اسکریپت های Robo، به اجرای اسکریپت Robo و راهنمای مرجع اسکریپت های Robo مراجعه کنید.
تاریخ آخرین بهروزرسانی 2025-09-06 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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-09-06 بهوقت ساعت هماهنگ جهانی."],[],[],null,["\u003cbr /\u003e\n\n| **Note:** Robo for iOS+ is a beta release. This means that the capabilities might change in backward-incompatible ways. A beta release is not subject to any SLA or deprecation policy and may receive limited or no support.\n\nRobo test is a testing tool that is integrated with Firebase Test Lab.\nRobo test analyzes the structure of your app's user interface (UI) and then\nexplores it methodically, automatically simulating user activities. Robo test\nalways simulates the same user activities in the same order when you use it to\ntest an app on a specific device configuration with the same settings. This\nrepeatable testing approach lets you use Robo test to validate bug fixes and\ntest for regressions.\n| **Note:** Robo test is not the same as (or based on) the Robotium or Robolectric test frameworks.\n\nRobo test captures log files, saves a series of annotated screenshots, and\nthen creates a video from those screenshots to show you the simulated user\noperations that it performed. These logs, screenshots, and videos can help\nyou determine the root cause of app crashes. These Robo test features can also\nhelp you find issues with your app's UI.\n\nIn addition to running regular Robo tests, you can customize your tests\nusing Robo scripts, which are a feature of Robo tests. To learn more,\nsee [Run a Robo script](/docs/test-lab/ios/run-robo-scripts).\n\nRobo test crawl stats\n\nTo help you interpret your Robo test results, Robo test records stats during\neach test crawl. Test Lab displays the stats at the top of the Robo test tab\nin your test results page:\n\n- Actions: The total number of actions performed during the crawl, including\n Robo script actions, monkey actions, and Robo directives.\n\n- Screens: The number of distinct screens visited during the crawl.\n\nTest Lab also uses the stats to create a visual representation of the\nRobo test in the form of a crawl graph. The graph has screens as its nodes\nand actions as edges. By following the edges between screens, you can get an\nidea of how Robo test traversed your app throughout the crawl.\n\nRobo test timeout\n\nDepending on the complexity of your app's UI, Robo test might take five minutes\nor more to complete a thorough set of UI interactions. We recommend setting the\ntest timeout to at least 120 seconds (2 minutes) for most apps, and 300 seconds\n(5 minutes) for moderately complex apps. The default value for timeout is 300\nseconds (5 minutes) for tests run from the Firebase console and 900 seconds (15\nminutes) for tests run from the gcloud command line.\n\nApp startup timeout errors\n\nIf your app takes a long time to start, Robo test can throw an error, and won't\nbe able to crawl your app. This only happens in cases of extremely long startup\ntimes, and can only be resolved by revising your app to make it start faster.\n\nMore control with Robo scripts\n\nSometimes you need more control over your tests. For example, you might want to\ntest a common user journey or provide specific UI input like a username and\npassword. Robo scripts can help. To learn more about Robo scripts, see [Run a\nRobo script](https://firebase.google.com/docs/test-lab/ios/run-robo-scripts)\nand [Robo scripts reference\nguide](https://firebase.google.com/docs/test-lab/android/robo-scripts-reference).\n\nNext steps\n\n- Customize your tests [using Robo scripts](/docs/test-lab/ios/run-robo-scripts)."]]