public class GetCssPropertyCommand extends java.lang.Object implements QAFCustomCommand
 function getStyle(el,styleProp){
 var x = document.getElementById(el);
 if (x.currentStyle)
 return x.currentStyle[styleProp];
 if (window.getComputedStyle)
 return
 document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);
 return "";
 }
 | Constructor and Description | 
|---|
| GetCssPropertyCommand() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | doCommand(SeleniumCommandProcessor commandProcessor,
         java.lang.String... args) | 
| java.lang.String | getCommandName() | 
public java.lang.String doCommand(SeleniumCommandProcessor commandProcessor, java.lang.String... args)
doCommand in interface QAFCustomCommandpublic java.lang.String getCommandName()
getCommandName in interface QAFCustomCommandCopyright © 2000 Infostretch Corp.