han
15 years agoContributor
getAttribute() in Firefox
Hi
Having problem getting Attributes for item's in firefox.
I can see the attribute in Firebug "inside" firefox but can't get TC to read the value.
It's working in iexplorer.
TC: 8.20
FF: 3.6.16
test(){ test = .Process("firefox").Page("*").Panel("PageContainer").Panel("MainContainer").Panel(8).getAttribute("TargetName"); .Message(test); //Empty test = .Process("iexplore").Page("*").Panel("PageContainer").Panel("MainContainer").Panel("Document_14").getAttribute("TargetName"); .Message(test); //Correct value }
Having problem getting Attributes for item's in firefox.
I can see the attribute in Firebug "inside" firefox but can't get TC to read the value.
It's working in iexplorer.
TC: 8.20
FF: 3.6.16
function test(){
var test = Sys.Process("firefox").Page("*").Panel("PageContainer").Panel("MainContainer").Panel(8).getAttribute("TargetName");
Log.Message(test); //Empty
test = Sys.Process("iexplore").Page("*").Panel("PageContainer").Panel("MainContainer").Panel("Document_14").getAttribute("TargetName");
Log.Message(test); //Correct value
}
test(){ test = .Process("firefox").Page("*").Panel("PageContainer").Panel("MainContainer").Panel(8).getAttribute("TargetName"); .Message(test); //Empty test = .Process("iexplore").Page("*").Panel("PageContainer").Panel("MainContainer").Panel("Document_14").getAttribute("TargetName"); .Message(test); //Correct value }