Skip to content

Cannot use variables in expressions #624

Open
@davidjenkins

Description

@davidjenkins

Test Engine does not appear to have access to variables. For example, I can't use the Assert function to check the internal state of the application.

e.g. If my test case uses something like Assert(MyVariable="MyExpectedValue"); then Test Engine will report:

Error 8-22: Name isn't valid. 'MyVariable' isn't recognized.

I understand that I could expose internal state using controls (e.g. use a TextInput control with a default value set to MyVariable and then use Assert(MyTextInput.Value="MyExpectedValue");) but this is not ideal and not consistent with Test Studio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    newAn Issue created that needs to be looked at by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions