March 2015
Intermediate to advanced
194 pages
3h 59m
English
Parameterization is a part of the Data Driven technique for retrieving values from an external data source as input. In general, the Data Driven tests are used to verify the actual and expected values from an external data source. The Selenium IDE plays a major role in parameterization, as it operates with different sets of permutations and combinations. Let's see how we can use a JavaScript file as a data source for Data Driven tests. The following is the JavaScript syntax for parameterization:
varname = "value"
For example, create a JavaScript (.js) file (Datasource.js) that includes the following keywords:
Search1 = "PrashanthSams" Search2 = "Selenium Essentials"
Launch the Selenium IDE and choose Options… from the Option menu, ...
Read now
Unlock full access