Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Are there any additional AGR documents
Are there any additional AGR documents [message #129087] Fri, 25 April 2008 08:42 Go to next message
Eclipse UserFriend
Originally posted by: ichbasthet.googlemail.com

Hi there,

are there any additional AGR documents except for "An Introduction to
Using TPTP's Automated GUI Recorder"?

Thanks,
Sarah
Re: Are there any additional AGR documents [message #129140 is a reply to message #129087] Fri, 25 April 2008 15:01 Go to previous messageGo to next message
Jimmy Jin is currently offline Jimmy JinFriend
Messages: 32
Registered: July 2009
Member
As I know, there is no (at least formal documents).

Do you have any specific questions? Or what do you think will be helpful
to put into the introduction document?

Jimmy Jin

Sarah Korthaus wrote:
> Hi there,
>
> are there any additional AGR documents except for "An Introduction to
> Using TPTP's Automated GUI Recorder"?
>
> Thanks,
> Sarah
>
Re: Are there any additional AGR documents [message #129365 is a reply to message #129087] Mon, 28 April 2008 12:05 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Unfortunately, no. However, there are two AGR references that may be of
some help:

http://www.eclipse.org/tptp/test/documents/gettingstarted/Au tomated_GUI_Recorder_Getting_Started.html
http://www.eclipse.org/articles/article.php?file=Article-TPT PAutomateFunctionalTesting/index.html

PS
"Sarah Korthaus" <ichbasthet@googlemail.com> wrote in message
news:cbc59d07f16a0bf7858da658dfe1124f$1@www.eclipse.org...
> Hi there,
>
> are there any additional AGR documents except for "An Introduction to
> Using TPTP's Automated GUI Recorder"?
>
> Thanks,
> Sarah
>
Re: Are there any additional AGR documents [message #129391 is a reply to message #129140] Mon, 28 April 2008 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sarah.korthaus.metris.de

Thanks for the response,

I got a problem by recording a check box, so I want to know how check
boxes are recorded. Does the recorder need to have any methods to be
implemented on the check box?

When I record the test case, the recorder generates a macro and an object
mine. But if I replay the test case in standard mode the widget isn't
selected.

The capture and replay only works, if I'm choosing position based
recording.

Thanks in advance,
Sarah
Re: Are there any additional AGR documents [message #129431 is a reply to message #129391] Mon, 28 April 2008 15:22 Go to previous messageGo to next message
Jimmy Jin is currently offline Jimmy JinFriend
Messages: 32
Registered: July 2009
Member
Hello, Sarah,

If you can paste the recorded script here, it may be helpful to analyze
what the problem is. (Better together with the related entries in object
mine, or record without the object mine.)

Regards,
Jimmy Jin

Sarah Korthaus wrote:
> Thanks for the response,
>
> I got a problem by recording a check box, so I want to know how check
> boxes are recorded. Does the recorder need to have any methods to be
> implemented on the check box?
>
> When I record the test case, the recorder generates a macro and an
> object mine. But if I replay the test case in standard mode the widget
> isn't selected.
>
> The capture and replay only works, if I'm choosing position based
> recording.
>
> Thanks in advance,
> Sarah
>
Re: Are there any additional AGR documents [message #129456 is a reply to message #129431] Mon, 28 April 2008 16:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sarah.korthaus.metris.de

Hello Jimmy,

the code seems to be right and the test passes without a failure.

But there should be a message printed out if the item is sellected, which
occours if position based recording is turned on.

<command type="select"
resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
contextId="editor/special.testEditor/Testname"
widgetId=" {{null}}-{{0.3}}{{null}}-{{0.3}}{{8}}-{{0.3}}{{(13,16)}}-{{0 .2}}{{(100,10)}}-{{0.1}}{{1}}-{{0.2}} "
selection="true"/>

Thanks,
Sarah
Re: Are there any additional AGR documents [message #129635 is a reply to message #129456] Tue, 29 April 2008 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sarah.korthaus.hs-furtwangen.de

Hello again,

could the problem occur because there is a change from a view to an editor
(within the same perspective) during the capture of the test?

Thanks,
Sarah
Re: Are there any additional AGR documents [message #129641 is a reply to message #129391] Tue, 29 April 2008 10:24 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
The AGR resolves widgets in the UI using an adaptive widget resolver:

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

In addition, you can contribute your own widget resolver for widgets that do
not resolve correctly.

PS
"Sarah Korthaus" <sarah.korthaus@metris.de> wrote in message
news:5c1756dc612461965e30dc58e78f1ee6$1@www.eclipse.org...
> Thanks for the response,
>
> I got a problem by recording a check box, so I want to know how check
> boxes are recorded. Does the recorder need to have any methods to be
> implemented on the check box?
>
> When I record the test case, the recorder generates a macro and an object
> mine. But if I replay the test case in standard mode the widget isn't
> selected.
>
> The capture and replay only works, if I'm choosing position based
> recording.
>
> Thanks in advance,
> Sarah
>
Re: Are there any additional AGR documents [message #129659 is a reply to message #129456] Tue, 29 April 2008 15:48 Go to previous message
Jimmy Jin is currently offline Jimmy JinFriend
Messages: 32
Registered: July 2009
Member
Hello, Sarah,

I guess this is related to the way you implement the event handler on
this checkbox, for example which event you listen for (then print out a
message). In normal playback command (not position-based), AGR will
determine which method of the widget to call to simulate such as a
select, and then trigger which kind of events. If you are just listening
for certain mouse down/up event on the checkbox, then it may not be
triggered with normal playback command(while it will in position-based
command). If necessary, I can help to check the source code for the details.

Regards,
Jimmy Jin

Sarah Korthaus wrote:
> Hello Jimmy,
>
> the code seems to be right and the test passes without a failure.
>
> But there should be a message printed out if the item is sellected,
> which occours if position based recording is turned on.
>
> <command type="select"
> resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
> contextId="editor/special.testEditor/Testname"
> widgetId=" {{null}}-{{0.3}}{{null}}-{{0.3}}{{8}}-{{0.3}}{{(13,16)}}-{{0 .2}}{{(100,10)}}-{{0.1}}{{1}}-{{0.2}} "
> selection="true"/>
>
> Thanks,
> Sarah
>
Previous Topic:Monitored Caller Object with probeKit of TPTP
Next Topic:Binary Data Transfer Format
Goto Forum:
  


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

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

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

Back to the top