Sponsored Content
Full Discussion: Automate keytrokes
Top Forums UNIX for Dummies Questions & Answers Automate keytrokes Post 302350818 by TonyFullerMalv on Saturday 5th of September 2009 03:07:39 PM
Old 09-05-2009
Xrunner is a Unix test tool for graphical applications that might do what you are after, this used be published by Mercury Interactive but seems to have been taken over by HP on who's site I see LoadRunner?

Eggplant may be another?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automate config changes

Hi All, I have stooopidly agreed to automate our release process (which though easy is a pain). The config file has a simple structure, below, each section can have upto 20 parms. The release doc will have the section name and parm to be changed. What I want is to read the list of changes... (3 Replies)
Discussion started by: nhatch
3 Replies

2. Shell Programming and Scripting

automate Telnet ?

Hi, I have to run a script shell on a unix server from my windows PC. For that, I open a cmd windows and use Telnet to connect to the unix and run the script (by the .profile of a special user). Is it possible to automate Telnet in order to not enter the user and the password ? Anyway, has... (4 Replies)
Discussion started by: tbeghain
4 Replies

3. SuSE

automate ispell

Hello!! Is posible to automate ispell?? I have a lot of misspelled text and I want to launch a script that runs ispell choosing for example the first option, all that automatically. Is possible?? Thanks :) (4 Replies)
Discussion started by: elblo
4 Replies

4. UNIX for Dummies Questions & Answers

Can you automate CVS?

Currently we have a load of files which we manually edit and then commit back into CVS ready for whoever else to edit. I have now made a script which auto-populates these files, however the powers that be still want them accessible via CVS. Is there a way I can automatically commit these files... (7 Replies)
Discussion started by: JayC89
7 Replies

5. Shell Programming and Scripting

Need a help to automate a task

I need to automate a manual task using shell scripting. The scenario is like :- #!/usr/bin/sh echo "please enter the name of the lab server to test ..." read s ssh $s This is peace of the script which will allow me to login to another server using "ssh". I have a conf file which is having... (4 Replies)
Discussion started by: Renjesh
4 Replies

6. Shell Programming and Scripting

To automate a process

CAN ANYONE HELP TO SOLVE i wann write a script to automate a process .i.e, to search files in the FTP server and and if files are there and we hav to bring that files to our system. After copying the files in our system we have to upload the data in the tables. I have scripts to load the... (0 Replies)
Discussion started by: nani1984
0 Replies

7. UNIX for Dummies Questions & Answers

To automate a process

CAN ANYONE HELP TO SOLVE i wann write a script to automate a process .i.e, to search files in the FTP server and and if files are there and we hav to bring that files to our system. After copying the files in our system we have to upload the data in the tables. I have scripts to load the... (2 Replies)
Discussion started by: nani1984
2 Replies

8. Windows & DOS: Issues & Discussions

automate the script

Dear all, I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 Replies

9. Shell Programming and Scripting

Need Help with commands to automate.

HI, In some test cases, I used tools like "dd" and "shed" to manually read a block from the disk, modify it using a hex editor and write it back using "dd". I need help with some linux commands I can use to read the block and change the data to induce the corruption....as I want to automate my... (3 Replies)
Discussion started by: prinsh
3 Replies

10. Shell Programming and Scripting

Automate [ls]ftp

Heyas Seen some of the ftp posts here and knowing i'll be writing a script using ftp soon, so i thought i'd write a script to automate, or at least simplify some basic tasks with it. I'm currently stuck at handling active/passiv modes. Neither lftp nor sftp seem to support them by arguments,... (3 Replies)
Discussion started by: sea
3 Replies
POE::Wheel::Curses(3pm) 				User Contributed Perl Documentation				   POE::Wheel::Curses(3pm)

NAME
POE::Wheel::Curses - non-blocking input for Curses SYNOPSIS
use Curses; use POE qw(Wheel::Curses); POE::Session->create( inline_states => { _start => sub { $_[HEAP]{console} = POE::Wheel::Curses->new( InputEvent => 'got_keystroke', ); }, got_keystroke => sub { my $keystroke = $_[ARG0]; # Make control and extended keystrokes printable. if ($keystroke lt ' ') { $keystroke = '<' . uc(unctrl($keystroke)) . '>'; } elsif ($keystroke =~ /^d{2,}$/) { $keystroke = '<' . uc(keyname($keystroke)) . '>'; } # Just display it. addstr($keystroke); noutrefresh(); doupdate; # Gotta exit somehow. delete $_[HEAP]{console} if $keystroke eq "<^C>"; }, } ); POE::Kernel->run(); exit; DESCRIPTION
POE::Wheel::Curses implements non-blocking input for Curses programs. POE::Wheel::Curses will emit an "InputEvent" of your choosing whenever an input event is registered on a recognized input device (keyboard and sometimes mouse, depending on the curses library). Meanwhile, applications can be doing other things like monitoring network connections or child processes, or managing timers and stuff. PUBLIC METHODS
POE::Wheel::Curses is rather simple. new new() creates a new POE::Wheel::Curses object. During construction, the wheel registers an input watcher for STDIN (via select_read()) and registers an internal handler to preprocess keystrokes. new() accepts only one parameter "InputEvent". "InputEvent" contains the name of the event that the wheel will emit whenever there is input on the console or terminal. As with all wheels, the event will be sent to the session that was active when the wheel was constructed. It should be noted that an application may only have one active POE::Wheel::Curses object. EVENTS AND PARAMETERS
These are the events sent by POE::Wheel::Curses. InputEvent "InputEvent" defines the event that will be emitted when POE::Wheel::Curses detects and reads console input. This event includes two parameters: $_[ARG0] contains the raw keystroke as received by Curses::getch(). An application may process the keystroke using Curses::unctrl() and Curses::keyname() on the keystroke. $_[ARG1] contains the POE::Wheel::Curses object's ID. Mouse events aren't portable. As of October 2009, it's up to the application to decide whether to call mousemask(). SEE ALSO
Curses documents what can be done with Curses. Also see the man page for whichever version of libcurses happens to be installed (curses, ncurses, etc.). POE::Wheel describes wheels in general. The SEE ALSO section in POE contains a table of contents covering the entire POE distribution. BUGS
None known, although curses implementations vary widely. AUTHORS &; COPYRIGHTS Please see POE for more information about authors and contributors. perl v5.14.2 2012-05-15 POE::Wheel::Curses(3pm)
All times are GMT -4. The time now is 04:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy