public function setVariableEqualTo($path, $value)
    {
        $accessor = new PropertyAccessor();
        $variables = $this->client->getVariables();
        $accessor->setValue($variables, sprintf("[%s]", $path), $value);
        $this->client->setVariables($variables);
    }
public function setVariableEqualTo($path, $value)
    {
        $accessor = new PropertyAccessor();
        $variables = $this->client->getVariables();
        $accessor->setValue($variables, sprintf("[%s]", $path), $value);
        $this->client->setVariables($variables);
    }
public function setVariableEqualTo ( $ path , $ value ) { $ accessor = new PropertyAccessor ( ) ; $ variables = $ this -> client -> getVariables ( ) ; $ accessor -> setValue ( $ variables , sprintf ( "[%s]" , $ path ) , $ value ) ; $ this -> client -> setVariables ( $ variables ) ; }
Set query variable with scalar value before run the given query

Example: And variable "username" is "admin"
Example: And variable "limit" is 2
Example: And variable "visible" is true
Example: And variable "orderBy" is { [{field:'login', direction: 'DESC'}] }

@Given /^variable "([^"]*)" is "?([^"]*)"?$/
Set query variable with scalar value before run the given query