Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Config Manual data within Script #312

Open
bartonhammond opened this issue Dec 11, 2017 · 0 comments
Open

How to use Config Manual data within Script #312

bartonhammond opened this issue Dec 11, 2017 · 0 comments

Comments

@bartonhammond
Copy link

In the code below I identified one piece of data, the course_id with value of 719.

At run time I expected the url in the first step to have the variable ${course_id} replaced w/ the 719 value.

But instead I get message "Variable not set: course_id"

{
  "type": "script",
  "seleniumVersion": "2",
  "formatVersion": 2,
  "steps": [
    {
      "type": "get",
      "url": "https://foobar/${course_id}"
    }
  ],
  "data": {
    "configs": {
      "manual": {
        "course_id": 719
      }
    },
    "source": "manual"
  },
  "inputs": [],
  "timeoutSeconds": 60
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant