var testgroups = qaTools.arrayify(testrun.testgroups); for (var i = 0; i < testgroups.length; i++) { if (testgroups[i].enabled == 0) continue; menu.appendItem(testgroups[i].name, testgroups[i].testgroup_id); } menu.selectedIndex = 0; 
var testgroups = qaTools.arrayify(testrun.testgroups); for (var i = 0; i < testgroups.length; i++) { if (testgroups[i].enabled == 0) continue; menu.appendItem(testgroups[i].name, testgroups[i].testgroup_id); } menu.selectedIndex = 0; 
function populateTestGroups(testrun) {	sTestrun = testrun;	var menu = document.getElementById("qa-st-testgroup");	while (menu.firstChild) {  // clear menu		menu.removeChild(menu.firstChild);	}	var testgroups = qaTools.arrayify(testrun.testgroups);	for (var i = 0; i < testgroups.length; i++) {		if (testgroups[i].enabled == 0) continue;		menu.appendItem(testgroups[i].name, testgroups[i].testgroup_id);	}	menu.selectedIndex = 0;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/a3a9a2c311afc9d76e4e6bfc036e5897fa988bc1/selecttests.js/clean/testing/extensions/community/chrome/content/tabs/selecttests.js