v1
9/29/2019 by ohepworthbell -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let langArray = ['First', 'Second', 'Third'];
delete caserun single casemove downdrag and drop case


ready



let select_elem = document.createElement('select');

langArray.forEach((element, index) => {
  let option_elem = document.createElement('option');

  // Add index to option_elem
  option_elem.value = index;

  // Add element HTML
  option_elem.innerHTML = element;

  // Append option_elem to select_elem
  select_elem.appendChild(option_elem);
});
delete caserun single casemove updrag and drop case


ready



let select_elem = document.createElement('select');

langArray.forEach((element, index) => {
  let option_elem = document.createElement('option');

  // Add index to option_elem
  option_elem.value = index;

  // Add element HTML
  option_elem.textContent = element;

  // Append option_elem to select_elem
  select_elem.appendChild(option_elem);
});
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN