Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to simulate user's behavior?
How to simulate user's behavior? [message #89322] Mon, 04 December 2006 12:54 Go to next message
James Gan is currently offline James GanFriend
Messages: 27
Registered: July 2009
Junior Member
Hi, dear all

I'm trying to use TPTP to test a popup menu plugin. The extension point is as following:

<extension
point="org.eclipse.ui.popupMenus">
<viewerContribution ...............

My problem is I don't know how to simulate the user behavior (right click a file and invoke
menuitem contributed by my plugin). I felt this problem should be solve a long time ago, but
I can't find a sample through Google.

Could you please help me?

Thanks a lot

James Gan
Re: How to simulate user's behavior? [message #96690 is a reply to message #89322] Mon, 23 April 2007 11:19 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi James,
I would recommend using the Automated GUI Recorder (AGR) to record the
user gestures with the context menu and add verification points. The
recording will be converted into a AGR Test that you can play back to verify
the menu. For more information, see:

http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-4-0.html

Paul
<ganzhi@gmail.com> wrote in message news:el15pj$m17$1@utils.eclipse.org...
> Hi, dear all
>
> I'm trying to use TPTP to test a popup menu plugin. The extension point is
> as following:
>
> <extension
> point="org.eclipse.ui.popupMenus">
> <viewerContribution ...............
>
> My problem is I don't know how to simulate the user behavior (right click
> a file and invoke
> menuitem contributed by my plugin). I felt this problem should be solve a
> long time ago, but
> I can't find a sample through Google.
>
> Could you please help me?
>
> Thanks a lot
>
> James Gan
Previous Topic:Proxy and recorder in tptp testing tool
Next Topic:TPTP beginner help
Goto Forum:
  


Current Time: Thu Apr 25 18:56:42 GMT 2024

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

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

Back to the top