How to install and use Pylot?
- August 13th, 2009
- Posted in pylot
- Write comment
Step 1: Download -> Pylot_1.26 from http://www.pylot.org/download.html
Step 2: Download -> python-2.6.2.msi
Step 3: Download -> wxPython2.8-win32-unicode-2.8.10.1-py26.exe
Step 4: Download -> matplotlib-0.98.5.3.win32-py2.6.exe
Step 5: Download -> numpy-1.3.0-win32-superpack-python2.6.exe
Make sure you install in the same order just to avoid any complications
Run the command C:\pylot_1.25>python run.py -x –testcases.xml
from DOS prompt
If you want that in GUI mode then run C:\pylot_1.25>python run.py -x -g –testcases.xml
TIPS:
To run a test case with multiple urls’s you need to to write an xml script with all the url’s inside the script. this would be ok if there are only few url’s that you need to test but for bigger data sets its hard so
run the following script to populate the XML script reading data from a .csv file
print ‘<testcases>’
for data in lines:
print “”"
<case>
<url>http://foo.com/%s</url>
</case>
“”" % data
print ‘</testcases>’
In the DOS command prompt run -> python foo.py > testcases.xml
Hi,
when i try to read this site its very hard to analyse the matter and searching the topics. Please change colors and font sizes. Otherwise people will miss valuable suggestions.
Sorry,
Madhavi