Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:test': 0.07; 'subject:How': 0.09; 'python': 0.09; 'macros': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:python': 0.11; 'url:)': 0.13; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'test.': 0.17; 'module': 0.19; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'am,': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'to:addr:python-list': 0.33; 'received:org': 0.36; 'test': 0.36; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'email addr:gmail.com': 0.63; 'within': 0.64; 'button.': 0.65; 'click': 0.76; 'application?': 0.84; 'received:pacbell.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: emile Subject: Re: How to use the python to do the unit test Date: Tue, 20 Nov 2012 09:51:09 -0800 References: <3d71f175-164e-494c-a521-2eaa5679b524@googlegroups.com> , <528c4303-4067-404c-a831-5d362b4eadf6@googlegroups.com> <201211210140534223470@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-69-226-129-65.dsl.pltn13.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 In-Reply-To: <201211210140534223470@gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353433887 news.xs4all.nl 6846 [2001:888:2000:d::a6]:50011 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33641 On 11/20/2012 09:40 AM, yujian4newsgroup@gmail.com wrote: > I write a mfc application, then I want to use the python to test this application. just as user click that button. Please tell me how to write the python application? I currently use MacroScheduler (http://www.mjtnet.com/) then write macros from within python and run them using the commands module to test. Emile