|
From: Jeff J. - S. <J_...@MC...> - 2008-03-19 19:00:01
|
Pavel,
Thank you very much for your assistance. It has gotten me closer to my
goal (I think).
However, I still am unable to successfully run the qmtest gui. I will
try to describe all that I have done.
I have installed ActivePython, the PyWin32 extensions, wxPython
(Unicode), KinterbasDB, QMTest, and the Subversion client.
The /Python25/ and /Python25/scripts/ directories are both in the PATH.
I used qadbm to create my test database at c:/fbtest/, and it
successfully copied the tests from your test suite.
In the test directory is a context file (context.txt). Here are the
contents of this file:
---
temp_directory=c:/fbtest/temp/
server_location=localhost/3040:
database_location=c:/fbtest/temp/
suite_database_location=c:/fbtest/fdb/
backup_location=c:/fbtest/fbk/
files_location=c:/fbtest/files/
isc4_path="C:/Program Files/Firebird/Firebird_1_5/security.fdb"
user_name=SYSDBA
user_password=masterkey
isql_path="C:/Program Files/Firebird/Firebird_1_5/bin/isql"
gsec_path="C:/Program Files/Firebird/Firebird_1_5/bin/gsec"
gstat_path="C:/Program Files/Firebird/Firebird_1_5/bin/gstat"
gbak_path="C:/Program Files/Firebird/Firebird_1_5/bin/gbak"
#nbackup_path="C:/Program Files/Firebird/Firebird_1_5/bin/nbackup"
gfix_path="C:/Program Files/Firebird/Firebird_1_5/bin/gfix"
gpre_path="C:/Program Files/Firebird/Firebird_1_5/bin/gpre"
---
Does this look okay? (I do have Firebird running on port 3040, because
Interbase is running on port 3050. Also, I don't know if the values for
the paths need to have the double quotes around them, even though they
have a space embedded in them. What do you think?)
Also in the c:/fbtest/ directory is a .bat file with which I want to run
the GUI. Here are its contents:
---
cd..
cd /fbtest
qmtest.py gui -C context.txt
---
When I double-click this file, a command window opens, then my browser
(Mozilla Firefox) opens, it waits for a few seconds, then displays the
"Page cannot be displayed" message. The address in the browser's
address line is:
http://127.0.0.1:1330/test/dir
It seems like I'm getting close, but still no success. Any suggestions?
Thanks!
Jeff
-----Original Message-----
From: fir...@li...
[mailto:fir...@li...] On Behalf Of Pavel
Cisar
Sent: Tuesday, March 18, 2008 12:41 AM
To: fir...@li...
Subject: Re: [Firebird-test] Firebird testing tools for Windows
Philippe Makowski napsal(a):
> and you set up qmtest and kinterbasdb
There should be executable Windows installers for both, so installation
should be quite easy.
>> When I try to run the qmtest gui command from the Python prompt
(">>>"),
>> I always get a syntax error. Since there are no examples to mimic,
it
>> is hard to know what the command should look like.
Don't run it from Python prompt, it has it's own script runnable from
shell. If you don't have c:\Python25\Scripts directory already in your
path, do so. It would make the life easier. If you have installed
ActivePython from ActiveState, you should have associations to directly
run .py and .pyw files. Or you can create a .bat file if you like.
> and if you wanted to create tests, you can use qmedit
Tests could be created, edited, inspected and run in qmtest gui (qmtest
web interface) just fine, but qmedit makes development of
Firebird-related tests more easy (our qmtest extension has a lot of
built-in functionality parametrized by test options. They're harder to
navigate using a web page, so qmedit is specialized editor with more
concise interface). However, it requires wxPython installed (easy and
straightforward using windows installer
(http://www.wxpython.org/download.php, install the unicode version, not
ansi).
best regards
Pavel Cisar
IBPhoenix
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-test mailing list
Fir...@li...
https://lists.sourceforge.net/lists/listinfo/firebird-test
|