Skip to content

assertQRCodeFromBase64

  • Purpose
  • This command reads the src attribute of the given locator and decodes the barcode/QR code. It asserts the decoded value of the image according to the specified locator. To use this command the locator should have the src attribute with the base64 content of the barcode/QR Code. The value that has to be verified should be a plain text. The execution gets aborted if this command fails. 
  • Syntax
  • assertQRCodeFromBase64(locator,text/variableName)
  • Target
  • locator of the image
  • Value
  • text/variableName
  • Return Value
  • N/A 

Feedback and Knowledge Base