Simulate button click method