09-14-2012
suggest a python module for automation..
Im planning to automate my testcases. Please suggest me a python module that will ease my automation scripting.
General steps involved in the testcase execution: (all steps below are done in linux machine)
1) start the application under test (AUT)
2) connect to oracle/ms sql db and update values.
3) Trigger an scenario from simulator. (simulator is a perl script that sends messages to AUT and expects response)
4) Get pass/fail status from simulator
5) check expected values in DB
6) finally display/log the result
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When I say "Command Line Interface" I mean the wrapper that allows you to type "commands" and have then correspond to pre-programmed actions... all the while making sure that it looks like you are INSIDE a shell of sorts.
I had good hope for "common.cli" but that didnt last long, when I found... (1 Reply)
Discussion started by: jjinno
1 Replies
2. UNIX for Advanced & Expert Users
Hi
I am new to Unix/Linux
I know commands and shell scripts which are useful for my project.
But i need to know the basics and commands and shell scripts in detail and easy guide.
Please refer a book.
Thanks
Haripatn (6 Replies)
Discussion started by: haripatn
6 Replies
3. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
4. Shell Programming and Scripting
I need to run this command using python subprocess module (notice I'm using only variables):
cmd = TESTPATH + ' -s ' + serviceName + ' -r ' + rdir + \
' -m ' + masterAcct + ' -p ' + persona + ' -P ' + passwd (3 Replies)
Discussion started by: erick_tuk
3 Replies
5. Red Hat
Hello friends
Today i have changed my passwd policy for strong password
Everything is working correctly but when i changed my password , it did not ask me my old password
my /etc/pam.d/system-auth file is (only passwdqc.so module line)
password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies
6. Shell Programming and Scripting
Im trying to write an automation script using python. I expect this script to log in to a remote server, execute commands and get its output.
import pexpect
child=pexpect.spawn('ssh myuser@192.168.151.80')
child.expect('Password:')
child.sendline('mypassword')
get_output =... (4 Replies)
Discussion started by: Arun_Linux
4 Replies
7. Programming
Hi,
I am trying to multiple urls in multiple tabs within a browser window.
I am using webbrowser module in python:
My code:
import webbrowser
li =
for url in li:
webbrowser.open_new_tab(url)
This code works fine, if the browser is already opened.
If the browser is not started... (5 Replies)
Discussion started by: pandeesh
5 Replies
8. Shell Programming and Scripting
I have this code that gives this error on Linux and will be grateful if you can help
import rrdtool
try:
ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2));
except rrdtool.error, e:
print e
When i run the above i get the below error
except... (1 Reply)
Discussion started by: kaf3773
1 Replies
9. Programming
I was wondering is there any occasion where csv module will be desired over pandas. I skipped learning csv module and jumped right into the beautiful pandas and its magical ability to manipulate data. Dataframes are beautiful! (2 Replies)
Discussion started by: srkmish
2 Replies
LEARN ABOUT DEBIAN
tkgate
TKGATE(1) General Commands Manual TKGATE(1)
NAME
tkgate - Tcl/Tk based digital circuit editor and simulator
SYNOPSIS
tkgate [-xqs] [-X script] [-l file] [-p file] [-P printer] [files...]
DESCRIPTION
TkGate is a graphical editor and event driven simulator for digital circuits with a tcl/tk-based interface. Supported circuit elements
include basic gates (AND, OR, etc.), tri-state gates, adders, multipliers, registers, memories and mos transistors. Hierarchical design is
also supported with support for user defined modules. Save files are based on the Verilog netlist format.
TkGate documentation can be found at:
http://www.cs.cmu.edu/~hansen/tkgate
OPTIONS
The options are as follows:
-X script Automaticaly start the simulator and execute the specified simulation script.
-p file Print circuit to file without starting GUI.
-P printer Print circuit to printer without starting GUI.
-l file Read the specified file as a library.
-x Automaticaly start the simulator.
-q Suppress startup messages.
-s Excute with a synchronous X server connection. This option is primarily for debugging.
-L lang Specify a locality to use if tkgate has been configued for Japanese support. The locality should be either "ASCII" for Eng-
lish, or "ja_JP.EUC" for Japanese. This option can also be set via the LANG environment variable.
HISTORY & CREDITS
TkGate begin life as an undergraduate project at Carnegie Mellon University (CMU) in 1987. At that time it was called simply 'gate' and
ran under the 'wm' window manager, a windowing system developed at CMU before X11 was widely used. In this incarnation it was used by stu-
dents in the computer architecture course at CMU to develop a simple microprocessor (dubbed "The Bat Computer"). After laying dormant for
several years, it was resurrected in 1991 and ported to run under X11 with the Xlib API. In this incarnation it was used several times by
students in the introductory digital logic course, but after the author graduated and left CMU, it went into hibernation again. This
Tcl/Tk incarnation was begun in 1998. While there is certainly some cruftyness in the implementation in places due to the multiple rein-
carnations, many new features have been added since the older wm and X11 versions, and the interface has been made much easier to use.
SEE ALSO
gmac(1)
AUTHOR
Jeffery Hansen (hansen@cmu.edu)
COPYRIGHT
Copyright (c) 1987-2004 by Jeffery Hansen
TKGATE(1)