http recording/ how to run the test correctly [message #51705] |
Thu, 26 January 2006 14:50 |
Eclipse User |
|
|
|
Originally posted by: mark.worthmann.emprise.de
Hi,
I am new to TPTP and I have the following problem with http recording.
1.I choose file->new->other->recording->Http Recording to record my
activity
in the browser(IE).
2.I choosed a new folder in my project (i named then project
TestContainer) and named the recording file TestTPTPRecording.rec.
->clicked finish
3.An emty browserwindow opens (IE) and I logged in in my portal. After
that I closed the browserwindow (so that the recording stopped).
4.The recorder controller says:
kBytes recorded:0
...
Recording completed
Test to be generated:
/TestContainer/test-ressources/TestTPTPRecording.testsuite
Test Generation completed
5. I clicked with the right mousebutton on
TestTPTPRecording.recmodel->Generate Test->finish and there comes a new
file with it called LoginTest.testsuite
6. Now the problem: if try to run this file as Test i get the folling
error:
IWAT2010E The configuration does not provide a Launchable Test Element
Why can I not run the test. Do have do set anything in the configuration.
And if it so what and where do I have to do this? Why there are 0 kb
recorded, do I have to do anything special in the browser while recording?
Please, can anyone help me?
|
|
|
|
Re: http recording/ how to run the test correctly [message #52122 is a reply to message #51717] |
Mon, 30 January 2006 07:24 |
Eclipse User |
|
|
|
Originally posted by: mark.worthmann.emprise.de
Is your E-Mailadress right? I could not send a Mail to it(it comes back to
me).
Now I tried it again with another side than before, and I got kb as
recorded(before that I used localhost). But its the same problem like in
my last post. I could not start the test after the recording and got the
error: IWAT4037E Problems found in Launch Configuration. See error log for
detailed status.
IWAT2010E The configuration does not provide a Launchable Test Element
|
|
|
|
Re: http recording/ how to run the test correctly [message #52250 is a reply to message #51705] |
Tue, 31 January 2006 16:40 |
Eclipse User |
|
|
|
Originally posted by: talktomanalar.yahoo.com
Do you have RAC running? If not download the install it by following
instructions here
http://www.eclipse.org/tptp/home/downloads/installguide/Inst allGuide41.html#install_agent_controller
Get the "standard" RAC and not the new technology Agent Controller. The
following are the steps I used to successfully create and execute the
test scripts
1. Create a new Java project.
2. Create a source folder called src.
3. Start RAC. Ensure the port numbers in RAC and Eclipse match. The
RAC port number is specified in RAC_HOME/config/serviceconfig.xml. In
Eclipse the port number is specified in Window -> Preference -> Test.
4. Choose New -> Other -> Test -> Test From Recording.
5. In the next dialog box select Create Test From New Recording and
select HTTP Recording.
6. In the next dialog box enter the test file name. Click Finish.
Run whatever test you want to run in the new browser window. Close the
browser to stop recording (or click Stop)
7. To generate source for the test, right click on the recorder test
and select Generate. Please note you need to be in Test Perspective to
get this option. (Window -> Open Perspective -> Other -> Test).
8. In the dialog box specify the source folder and other information.
On my 1 gig machine it takes a while to generate the source.
9. To execute the script, create a new Run configuration for Test. It
is pretty intuitive.
Hope this helps.
Mark W wrote:
> Hi,
>
> I am new to TPTP and I have the following problem with http recording.
>
> 1.I choose file->new->other->recording->Http Recording to record my
> activity
> in the browser(IE).
> 2.I choosed a new folder in my project (i named then project
> TestContainer) and named the recording file TestTPTPRecording.rec.
> ->clicked finish
> 3.An emty browserwindow opens (IE) and I logged in in my portal. After
> that I closed the browserwindow (so that the recording stopped).
> 4.The recorder controller says:
> kBytes recorded:0
> ..
> Recording completed Test to be generated:
> /TestContainer/test-ressources/TestTPTPRecording.testsuite
> Test Generation completed
>
> 5. I clicked with the right mousebutton on
> TestTPTPRecording.recmodel->Generate Test->finish and there comes a new
> file with it called LoginTest.testsuite
> 6. Now the problem: if try to run this file as Test i get the folling
> error:
>
> IWAT2010E The configuration does not provide a Launchable Test Element
>
>
> Why can I not run the test. Do have do set anything in the
> configuration. And if it so what and where do I have to do this? Why
> there are 0 kb recorded, do I have to do anything special in the browser
> while recording?
>
>
> Please, can anyone help me?
>
>
>
>
>
>
|
|
|
Re: http recording/ how to run the test correctly [message #52332 is a reply to message #52250] |
Wed, 01 February 2006 11:08 |
Eclipse User |
|
|
|
Originally posted by: mark.worthmann.emprise.de
Hey, I can start the test now.
The problem was, that I did not switch to the Test Navigator view, but
used the normal navigator view of Eclipse. There is also a link "generate
test" in the right mouse-click menu of the *.recmodel-file and I thought,
that that was the generate link.
Ok, now I can record an run tests. The next step for me will be to find
out all information about the tests after running (I think that are the
reports in the right-mouse-click-menu). And then I will try to use a
datapool.
Thank you,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.25323 seconds