Prepare for your Next Interview
This is a discussion on Putty screen login and password script within the Quality Center forums, part of the Software Testing category; Hi all, could you correct me this script if any wrong: here i am opening a putty screen and entering login and password and quiting. Systemutil.run("c:\putty.exe") ...
|
|||
|
Putty screen login and password script
Hi all, could you correct me this script if any wrong: here i am opening a putty screen and entering login and password and quiting. Systemutil.run("c:\putty.exe")
with window("regexpwndtitle:=putty configuration") .activate .winedit("nativeclass:=edit","attached text:=host &name (or ip address)").type "10.0.100.99" .winedit("nativeclass:=edit","attached text:=&port").type "23" .winradiobutton("nativeclass:=button","text:=&telnet").set .winbutton("text:=&open").click end with with window("nativeclass:=putty") .type "maint" .type micreturn .type "alaska17" .type micreturn .type "exit" .type micreturn end in the above script if record it then it's working fine, but in descriptive it's not executing. Please correct me that script if any thing wrong in that. Thanks in advance. Last edited by Lokesh M : 04-24-2007 at 02:25 AM. |
| Sponsored Links |
|
|||
|
Re: Putty screen login and password script
first try to create a window variable i.e., set w=window("Title:=xxxxx")
I think some problem with accessing properties of corresponding objects Last edited by kkkandula : 05-29-2007 at 05:46 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting error - Login failed on server side | Geek_Guest | ASP.NET | 2 | 06-03-2007 03:27 PM |
| I need to check the Login function | Geek_Guest | SilkTest | 0 | 04-16-2007 09:14 AM |
| AMUST 1-Login Premium Pack | JobHelper | Geeks Lounge | 0 | 03-04-2007 10:11 AM |
| Sticky Password: intelligent form filler and password manager that works with web for | JobHelper | Geeks Lounge | 0 | 01-04-2007 02:11 PM |
| Login to sample flight application in QTP | JobHelper | QTP | 2 | 12-30-2006 06:38 AM |