www.pudn.com > ParaView3.rar > OpenHelp.py


#/usr/bin/env python 
 
import QtTesting 
import time 
 
object1 = 'MainWindow/menubar/menuHelp' 
QtTesting.playCommand(object1, 'activate', 'actionHelpHelp') 
 
# since this starts a new process, we'll wait for a bit 
# before finishing the test, to give the other process 
# time to report an error condition 
time.sleep(5)