It should be capable of opening and closing when battery voltage is supplied to it but it is usually cycled via the ECU.
Try putting 12 volts to from the battery but careful not to short out anything directly back to the battery (risk of fire, explosion, etc)