Dim can be used to store a value in a variable. For example: Dim a a 10
Set can be used to store a object or child object from AUT eg. set a Browser(" ").Page(" ").childobject(obj) obj is already described through descriptive programming & by using above script we can store child objects in a web page like webbutton webradio button web list link etc.