Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Verification hook problem
Verification hook problem [message #125255] Tue, 04 March 2008 12:10 Go to next message
Eclipse UserFriend
Originally posted by: gopi_tptp.yahoo.com

hi,
i am using tptp to execute testcases.
after runnig the test cases i had inserted hook point in order to validate
the test case.
in most cases the test cases are executed properly, but some times the
hook doesn't get executed.
it gives the following message

Failed to locate the context view/com.ca.harvest.ui.explorerView required
by the verification point testco39:Qorg.eclipse.ui.IViewPart;


i think this is a memory related problem,because this problem comes not
often.

what are the main causes for this problem????

thanks,
gopi
Re: Verification hook problem [message #125268 is a reply to message #125255] Tue, 04 March 2008 13:29 Go to previous messageGo to next message
Jimmy Jin is currently offline Jimmy JinFriend
Messages: 32
Registered: July 2009
Member
Hello, gopi,

We also have engineer encounter this problem on his workstation, but
cannot reproduce on other workstation stably. What's the AGR, TPTP and
Eclipse version you are using?

Jimmy Jin

gopi wrote:
> hi,
> i am using tptp to execute testcases.
> after runnig the test cases i had inserted hook point in order to
> validate the test case.
> in most cases the test cases are executed properly, but some times the
> hook doesn't get executed.
> it gives the following message
>
> Failed to locate the context view/com.ca.harvest.ui.explorerView
> required by the verification point testco39:Qorg.eclipse.ui.IViewPart;
>
>
> i think this is a memory related problem,because this problem comes not
> often.
>
> what are the main causes for this problem????
>
> thanks,
> gopi
>
Re: Verification hook problem [message #125339 is a reply to message #125268] Wed, 05 March 2008 04:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gopi_tptp.yahoo.com

Hi Jimmy,

i am using

TPTP: tptp.runtime.allInOne.win32.win32.x86-TPTP-4.4.0.3(4.4.0.3 version)

AGR: org.eclipse.tptp.test.auto-TPTP-4.4.0.3.zip(4.4.0.3 version)

Eclipse Version: 3.3.1

Thanks,
gopi
Re: Verification hook problem [message #125859 is a reply to message #125255] Mon, 10 March 2008 10:39 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Gopi,
This problem is related to the AGR runner not finding the view part
during playback. I would suggest adding a wait before the call to your
verification hook or using a custom widget resolver to locate the view part
during playback

Paul
"gopi" <gopi_tptp@yahoo.com> wrote in message
news:0b172af5cf23d0678b77572b27ccb5f6$1@www.eclipse.org...
> hi,
> i am using tptp to execute testcases.
> after runnig the test cases i had inserted hook point in order to validate
> the test case.
> in most cases the test cases are executed properly, but some times the
> hook doesn't get executed.
> it gives the following message
>
> Failed to locate the context view/com.ca.harvest.ui.explorerView required
> by the verification point testco39:Qorg.eclipse.ui.IViewPart;
>
>
> i think this is a memory related problem,because this problem comes not
> often.
>
> what are the main causes for this problem????
>
> thanks,
> gopi
>
Re: Verification hook problem [message #125885 is a reply to message #125859] Mon, 10 March 2008 12:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gopi_tptp.yahoo.com

hi paul,
the first alternate is present in the macro code itself i.e while
recording the testcase by agr, wait macro is present(i maen recorded)
before verification hook and after the hook.
could you please tell the second alternate i.e using a custom widget
resolver to locate the view part.

thanks,
gopi
Re: Verification hook problem [message #125910 is a reply to message #125885] Mon, 10 March 2008 13:04 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
See
http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-5-0.html#2.4.

Paul
"gopi" <gopi_tptp@yahoo.com> wrote in message
news:0e971df042a16a40d7243275aa995644$1@www.eclipse.org...
> hi paul,
> the first alternate is present in the macro code itself i.e while
> recording the testcase by agr, wait macro is present(i maen recorded)
> before verification hook and after the hook.
> could you please tell the second alternate i.e using a custom widget
> resolver to locate the view part.
>
> thanks,
> gopi
>
>
Previous Topic:General Properties
Next Topic:support for RCP product in TPTP4.5i4 ???
Goto Forum:
  


Current Time: Thu Apr 25 11:54:22 GMT 2024

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

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

Back to the top