[null,null,["最后更新时间 (UTC):2025-08-16。"],[],[],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)."]]