jithu Posted April 6, 2009 Share Posted April 6, 2009 Hi , I am trying to install a software, in the 2nd screen I am got warning like unsupported version click continue to proceed or quit , initially the focus will on quit button , I am want to click on the continue button and proceed further . Could anyone please help me ... Please check the below image / attached image , attachment has both auto it v3 window info and the warning screenhttp://picasaweb.google.com/blackhathacker...501065255128930Thanks in advance... Link to comment Share on other sites More sharing options...
Rishav Posted April 6, 2009 Share Posted April 6, 2009 several ways 1. Least elegant way. Simply send left and then enter. 2. If buttons have shortcuts, then send "c" for continue and "q" for quit. 3. freeze info tool. focus the finder tool on the continue button.get the classnameNN and other infor for that button. then use controlclick. Link to comment Share on other sites More sharing options...
jithu Posted April 7, 2009 Author Share Posted April 7, 2009 several ways1. Least elegant way. Simply send left and then enter.2. If buttons have shortcuts, then send "c" for continue and "q" for quit.3. freeze info tool. focus the finder tool on the continue button.get the classnameNN and other infor for that button. then use controlclick.can you give me any sample script for the 1 and 3rd options... it doesn't have shortcut so I am unable to send shortcuts... I am just a beginner Link to comment Share on other sites More sharing options...
Quual Posted April 7, 2009 Share Posted April 7, 2009 (edited) If WinExists('warning') Then Send('{LEFT}{ENTER}') EndIf or WinWaitActive('warning') Send('!{TAB}{SPACE}') first one checks to see if the window exists and if it does, sends the keystrokes for left arrow and enter second one waits till a window with the title 'warning' is active and then sends the keystrokes for alt tab and spacebar Edited April 7, 2009 by Quual Link to comment Share on other sites More sharing options...
jithu Posted April 7, 2009 Author Share Posted April 7, 2009 Thanks for quick response dude ... but already tried these both logics even though no action is taking place.... even try to send({enter}) with active button which used to quit the application from installation that is also not working ... if u have time do onething goto oracle webiste or oracle e delivery site and download plm analytics datamart version 3.0 , anybody can download it for free and try to automate the installation and can u just send me the sample script... waiting for reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now