Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » workbench as context ignored?
workbench as context ignored? [message #82744] Wed, 06 September 2006 17:32 Go to next message
Eclipse UserFriend
Originally posted by: pamelaw.amdocs.com

I have this option checked, but when running in standard mode, a new
eclipse workbench is always loaded. My test always fails b/c it's
dependent on the current workbench context. I've tried to deleted and
recreate 1) my testcase and 2) my invocation several times(& save in
between each attempt). Any suggestions? BTW, is there a way to search
the current newsgroup, I hate to ask a repeated question. THX Pamela
Re: workbench as context ignored? [message #82753 is a reply to message #82744] Wed, 06 September 2006 18:32 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Are you talking about automated GUI test suites?
I think you're referring to the "Use current workbench as context" option
under the overview page of the test suite editor. This option simply means
that your current *workbench* will be used to launch the test suite in (not
the current *workspace*). A second workbench will always be launched in
standard mode.


"Pamela Morris" <pamelaw@amdocs.com> wrote in message
news:133e4e2ce5ab871b081d6b85835fc8f1$1@www.eclipse.org...
>I have this option checked, but when running in standard mode, a new
>eclipse workbench is always loaded. My test always fails b/c it's dependent
>on the current workbench context. I've tried to deleted and recreate 1) my
>testcase and 2) my invocation several times(& save in between each
>attempt). Any suggestions? BTW, is there a way to search the current
>newsgroup, I hate to ask a repeated question. THX Pamela
>
Re: workbench as context ignored? [message #82773 is a reply to message #82753] Wed, 06 September 2006 19:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pamelaw.amdocs.com

I see, so how do I create a real context, such that when a new workbench
is launched, it has a preloaded or predefined workspace? I did try to
record importing a project I had, but the playback does not work, it
stalls inthe middle of the import when doing playback in quick mode. THX
Re: workbench as context ignored? [message #83022 is a reply to message #82773] Fri, 08 September 2006 15:11 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
You can either setup your context with test cases (I can see that you've
already tried that) or specify a workspace that already has the context
setup. The workspace location can be specified in TPTP 4.2.1 or later under
the overview page of the test suite.

I would recommend to have the context setup every time the test suite is
launched. This way you won't be restricted to only run the test suite on a
machine that has the pre-defined workspace location. The likely reason why
you experienced a hang during playback is because you've used the native
browse dialog. As mentioned under the limitations section of the user guide
( http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-2-0.html#1.2)
, the GUI recorder is not able to record any events from native dialogs.
You can workaround this problem by typing the path of where the project is.
The user guide includes a section on how you can specify relative paths to
the test suite project so as to avoid having a dependence on the environment
where the test suite is launched (see
http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-2-0.html#2.2.5).


"Pamela Morris" <pamelaw@amdocs.com> wrote in message
news:f36d304a2d1bde5d9951ad6f39fd48c2$1@www.eclipse.org...
>I see, so how do I create a real context, such that when a new workbench is
>launched, it has a preloaded or predefined workspace? I did try to record
>importing a project I had, but the playback does not work, it stalls inthe
>middle of the import when doing playback in quick mode. THX
>
Previous Topic:new AC sdk link errors on linux
Next Topic:The AGR outlet view file is broken
Goto Forum:
  


Current Time: Fri Apr 19 20:12:54 GMT 2024

Powered by FUDForum. Page generated in 0.03651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top