Are there any additional AGR documents [message #129087] |
Fri, 25 April 2008 04:42  |
Eclipse User |
|
|
|
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 #129431 is a reply to message #129391] |
Mon, 28 April 2008 11:22   |
Eclipse User |
|
|
|
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 #129659 is a reply to message #129456] |
Tue, 29 April 2008 11:48  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds