From: Jeff J. - S. <J_...@MC...> - 2008-03-19 20:28:05
|
Pavel, I tried running the .bat file from the command window, and the behavior is the same. The only thing that shows up in the command window is: QMTest running at http://127.0.0.1:1421/test/dir It seems like there ought to be more output, but nothing appears. The browser stays open, and the command window does not close, and does not return to the C: prompt. Thanks for staying with me, I really appreciate it. Jeff -----Original Message----- From: fir...@li... [mailto:fir...@li...] On Behalf Of Pavel Cisar Sent: Wednesday, March 19, 2008 01:10 PM To: fir...@li... Subject: Re: [Firebird-test] Firebird testing tools for Windows Jeff, Jeff Jones - SHERIFFX napsal(a): > > 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. So far so good. > I used qadbm to create my test database at c:/fbtest/, and it > successfully copied the tests from your test suite. Just to be sure, you did CREATE and then COPY, right? The qadbm.py tools is very old (one from my first Python tools) and haven't very intuitive interface (guess I'll rewrite it soon). The CREATE command creates the destination directory and copies the QMTest subdirectory there. This subdirectory in fact makes it a test database for QMTest. It contains some configuration files and our extension classes for QMTest. The COPY command just copies test files around. > 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?) Paths with spaces doesn't need to be escaped / enclosed in double quotes. I'm not sure now whether they can hurt or not, but it should definitely work without them. The server_location is correct. Important thing: The qadbm tool doesn't copies support files like databases or backup files when you create a working test database! It somehow makes sense as they're shared. So you should point your context entries for suite_database_location, backup_location and files_location to directories where they really reside (in your SVN repository checkout). > 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? Well, something went wrong half-way through QMTest initialization. The best way to find out what's wrong is to run this bat file from command prompt. Just open the new console window, switch to your test database directory and run the bat file from there. QMTest will prints all messages to console, and this way it wouldn't close on you. 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 |