<br><br><div class="gmail_quote">On Wed, Nov 12, 2008 at 3:01 PM, sambasivareddy <span dir="ltr"><<a href="mailto:sambasivareddy.s@patni.com">sambasivareddy.s@patni.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi all,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">How to navigate one window to another window
through python scripts ?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Basically I want to do  Automatic testing
one windows base c#.net application through python scripts.</span></font></p>

<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0in 0in 1pt;">

<p style="border: medium none ; padding: 0in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p style="border: medium none ; padding: 0in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I am Able
to open the executable file with following scripts.</span></font></p>

</div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Import os</span></font></p>

<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0in 0in 1pt;">

<p style="border: medium none ; padding: 0in;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> Os.system
('abc.exe')</span></font></p>

</div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">But how to navigate from one window to
another window?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">How to set values in that window with
python script?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">if any one have sample code and documents Plz
share to me.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Your inputs will really helpful and thanks
in advance !!!!!</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p><b><b><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy; font-weight: normal;">Regards</span></font></b></b><b><b><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;">,</span></font></b></b></p>


<p><b><b><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;">Sambasivareddy.S</span></font></b></b><font color="navy"><span style="color: navy;"></span></font></p>

</div>

</div></div></blockquote><div><br>You can use pywinauto <a href="http://pywinauto.openqa.org/">http://pywinauto.openqa.org/</a> to automate desktop applications on windows.<br><br>Thanks & Regards,<br>Godson Gera<br>
<a href="http://godson.in">http://godson.in</a> <br></div></div>