How do I specify variables in AppNeta's Experience Selenium scripts
search cancel

How do I specify variables in AppNeta's Experience Selenium scripts

book

Article ID: 373340

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

Our Selenium script requires we use variables, but we can not seem to specify the variable values:

Instead the name of the variable is appearing:

Cause

This is caused by incorrect syntax.

Resolution

To make use of variables, you'll need to use ${  name of variable } 

For example, the variable username should be written as ${username} and the variable for password is written as ${password}

The results is that the specified username and password will be typed