Forum Discussion
chicks
14 years agoRegular Contributor
Are you doing record & playback? My experience has been that objects on another tab are still recognized, although I am not using name mapping.
Here's a function I wrote in JavaScript to make sure that we have selected the correct tab for multiple browsers in IE.
function SetTabVisible(aTab) {
var tabButton = Sys.Process("iexplore").FindChild("Name","TabButton*"+aTab+"*", FIND_DEPTH);
tabButton.Click();
Sys.Process("iexplore").Page("*").Wait();
}
Here's a function I wrote in JavaScript to make sure that we have selected the correct tab for multiple browsers in IE.
function SetTabVisible(aTab) {
var tabButton = Sys.Process("iexplore").FindChild("Name","TabButton*"+aTab+"*", FIND_DEPTH);
tabButton.Click();
Sys.Process("iexplore").Page("*").Wait();
}