HTML Special Functions : Function Index


DescriptionThese functions can be used to perform some special actions in the HTML web page such as drag & drop , executeJavaScript etc.


Following are the functions that are present in Special Functions:


dragAndDrop


Function Description:


          Use this function to drag a HTML Element in a web page and drop it in to the another HTML Element in the same web page. The drag element and drop target element will be identified through the GUI properties stored in the appropriate MAP file.


How to Define:


            dragAndDrop("Drag_Element_ID","Drop_Target_Element_ID","wait_time")


Example:
         
         
dragAndDrop("Name","NONE",1)


Return Values:


         
0 for Success
          1 for Failure


dragAndDropAnalog


Function Description:


          Use this function to drag a HTML Element in a web page and drop it in to the another HTML Element in the same web page which is identified through the co-ordinates of the screen.


How to Define:


            dragAndDropAnalog("Drag_Element_ID","Coord_X","Coord_Y","wait_time")


Example:
         
         
dragAndDropAnalog("Name","331","363",1)


Return Values:


         
0 for Success
          1 for Failure


executeJavaScript


Function Description:


          Use this function to execute any javascript functions present in the HTML window set through the setWindow call.


How to Define:


            executeJavaScript("JavaScript_Function_To_Execute")


Example:
         
         
executeJavaScript("setUpUI('testval')")


Return Values:


         
0 for Success
          1 for Failure



Copyright © 1999, AdventNet Inc. All Rights Reserved.