Feature Requests & Ideas

For bug reports and questions, please use the in-app chat or support@mabl.com.

Ability to use variables in "find matching element > text to enter"

As a user I want to be able to use variables in the "Find matching element" so I can add dynamic content like a starting/ending date of two date fields. The reason for this is that in our application there are some calendar components that let you select a date range, but this can't be a fixed value because it opens with the current month, os it has to be a date within the current actual month. Variable insertion is not working, is the first thing I thought of, but it seems that the html component has some weird div wrapper. 

  • Guest
  • May 8 2019
  • Shipped
  • Attach files
  • Admin
    Anton Hristov commented
    23 Jan 08:18pm

    If I understand correctly, this request is about using a variable within the CSS/XPath selector. If that is correct, then this is possible to do. Just enter the variable name within the selector or text to be entered using the following syntax: {{@my_variable}}. Therefore, I'm marking this request as shipped.

Copyright © 2020 mabl Inc. All rights reserved.