Customize test history grouping
Learn how to customize the grouping of tests in your test history.
By default, BrowserStack groups tests based on the test name, device, OS, and other parameters. However, you can customize the test grouping to maintain a consistent history, even when device or browser versions change.
Customizing test history grouping is particularly useful if you want to group tests based on specific criteria or if you want to ignore certain parameters.
Customizing test history grouping changes the way your tests are grouped and identified in BrowserStack.
Updating the test history grouping settings affect future test runs and not the existing ones. If you change the test history grouping settings, it will not retroactively apply to previously executed tests.
How to customize test history grouping
When you customize the test history grouping, you have three options to select for device, OS, and browser:
- Use Exact Value: Groups tests based on the actual platform the test ran on.
- Use Configured Value: Groups tests based on the value configured in the test history grouping settings using regular expressions (eg:
deviceName: Samsung Galaxy A52|Xiaomi Redmi Note 10 Pro|Google Pixel 6 Pro
,platformVersion: 1[012]
,platformVersion: 1.*
,platformVersion: 1[2,3]4
,deviceName: ^(?=Oppo.*|Huawei.* ).*
) in your config file. - Ignore: Ignores the value when determining the test history grouping.
To customize the test history grouping, follow these steps:
- Go to Settings > General.
- Scroll down to the Test History Grouping section.
- Select an option for devices: Use Exact Value, Use Configured Value, or Ignore.
- Select an option for OS: Use Exact Value, Use Configured Value, or Ignore. You can also select an option for OS version if you are not ignoring the OS completely.
- Select an option for browser: Use Exact Value, Use Configured Value, or Ignore. You can also select an option for browser version if you are not ignoring the browser completely.
- Click Save changes to save your configuration.
- Click Confirm to confirm your changes.
The default setting for test history grouping is Use Configured Value.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!