September 17, 2024 Release Notes (Menu item treated like a button, Mobile camera (Android and SauceLabs))

Created by Kevin Carroll, Modified on Wed, 16 Oct at 1:32 AM by Kevin Carroll

Menu item treated like a button

 

When an element has role="menuitem", now it will be treated like a button and listed as an option to click for AI, as well as be part of the button types list for us. See other roles that apply below:

  • Button
  • MenuItem
  • Checkbox
  • MenuItemCheckbox
  • Radio
  • MenuItemRadio
  • ComboBox


You can find it in Settings >> Speed Optimizations:

 

Location

 

An example can be shown below:

 

command

 

result

 

Mobile camera (Android and SauceLabs)

 

We added the ability for customers to test taking pictures using the mobile camera on real devices (currently available for Android and Saucelabs only).

  • Find the “Enable Camera Image Injection” SauceLabs option in Settings >> Integrations below the Enable SauceLabs checkbox. It disabled by default.
  • Includes a link for details about how Camera Image Injection works in SauceLabs.
  • Ways to add image: Stored value or link to the image.
  • SauceLabs imposed limitations: JPEG and PNG format; up to 5MB.
  • Command to use it: set camera image to

 

Camera Injection Location

 

You can also check it in our official documentation: "set camera image to" command

 

You can find an example below:

 

with link

 

with stored value

 

result

 

Additional info:

Instrumentation on Sauce Labs Real Devices

Camera Image Injection

Test Camera image capture and QR/Barcode scanning

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article