Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Automated gui recoder
Automated gui recoder [message #136057] Tue, 23 September 2008 11:23 Go to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hello All,
I m using TPTP 4.4.0.2. in this I m not able to record mouse
activity.some times, like for drop down i have to click on cell. during
recording it didn't show any error message but after playing test case it
showed some error.can any one tell me how to resolve this...
Re: Automated gui recoder [message #136283 is a reply to message #136057] Wed, 24 September 2008 10:24 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Asha,
Can you post the error?

Paul
"Asha " <asha@readiminds.com> wrote in message
news:6d5b31e9a2d373abef791a5cde54392a$1@www.eclipse.org...
> Hello All,
> I m using TPTP 4.4.0.2. in this I m not able to record mouse
> activity.some times, like for drop down i have to click on cell. during
> recording it didn't show any error message but after playing test case it
> showed some error.can any one tell me how to resolve this...
>
Re: Automated gui recoder [message #137432 is a reply to message #136283] Fri, 24 October 2008 12:27 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
sorry for late reply..i didn't check it for long time...plz reply soon


org.eclipse.core.runtime.CoreException
Error while executing a macro command: MacroCommand [choice-select, line
43]
java.lang.ArrayIndexOutOfBoundsException: 0
at
org.eclipse.tptp.test.auto.gui.internal.commands.ChoiceSelec tionCommand.playback(ChoiceSelectionCommand.java:143)
at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1210)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Re: Automated gui recoder [message #137580 is a reply to message #137432] Mon, 27 October 2008 11:28 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Asha,
This error indicates that line 43 of the AGR test case is referencing a
combobox that could not be located when the AGR played back the test case.

Paul
"Asha " <asha@readiminds.com> wrote in message
news:811c8b2f5c389c67c12a045b412be025$1@www.eclipse.org...
> sorry for late reply..i didn't check it for long time...plz reply soon
>
>
> org.eclipse.core.runtime.CoreException
> Error while executing a macro command: MacroCommand [choice-select, line
> 43]
> java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.ChoiceSelec tionCommand.playback(ChoiceSelectionCommand.java:143)
> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1210)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>
>
Re: Automated gui recoder [message #137679 is a reply to message #137580] Thu, 30 October 2008 06:50 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Thanks Paul for ur reply.yes this is referencing a combobox.but i m able
to record combo box element. but when i m using combobox in a table with 3
column and there is a combobox in third column. Is there any way to record
this type of combo box.

Paul Slauenwhite wrote:

> Hi Asha,
> This error indicates that line 43 of the AGR test case is referencing a
> combobox that could not be located when the AGR played back the test case.

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:811c8b2f5c389c67c12a045b412be025$1@www.eclipse.org...
>> sorry for late reply..i didn't check it for long time...plz reply soon
>>
>>
>> org.eclipse.core.runtime.CoreException
>> Error while executing a macro command: MacroCommand [choice-select, line
>> 43]
>> java.lang.ArrayIndexOutOfBoundsException: 0
>> at
>>
org.eclipse.tptp.test.auto.gui.internal.commands.ChoiceSelec tionCommand.playback(ChoiceSelectionCommand.java:143)
>> at
>>
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1210)
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>>
>>
Re: Automated gui recoder [message #137703 is a reply to message #137679] Thu, 30 October 2008 10:28 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Asha,
Unfortunately, recording/playback of table items is currently not
supported:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=133586

Please feel free to comment/contribute to this defect.

Paul
"Asha " <asha@readiminds.com> wrote in message
news:5d9a56ed7234e491bbc6b3cb0d5ea32e$1@www.eclipse.org...
> Thanks Paul for ur reply.yes this is referencing a combobox.but i m able
> to record combo box element. but when i m using combobox in a table with 3
> column and there is a combobox in third column. Is there any way to record
> this type of combo box.
>
> Paul Slauenwhite wrote:
>
>> Hi Asha,
>> This error indicates that line 43 of the AGR test case is referencing
>> a combobox that could not be located when the AGR played back the test
>> case.
>
>> Paul
>> "Asha " <asha@readiminds.com> wrote in message
>> news:811c8b2f5c389c67c12a045b412be025$1@www.eclipse.org...
>>> sorry for late reply..i didn't check it for long time...plz reply soon
>>>
>>>
>>> org.eclipse.core.runtime.CoreException
>>> Error while executing a macro command: MacroCommand [choice-select, line
>>> 43]
>>> java.lang.ArrayIndexOutOfBoundsException: 0
>>> at
> org.eclipse.tptp.test.auto.gui.internal.commands.ChoiceSelec tionCommand.playback(ChoiceSelectionCommand.java:143)
>>> at
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1210)
>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>>> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>>> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>>> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>>>
>>>
>
>
Re: Automated gui recoder [message #137750 is a reply to message #137703] Thu, 30 October 2008 11:02 Go to previous message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Thanks for ur reply.
Paul Slauenwhite wrote:

> Hi Asha,
> Unfortunately, recording/playback of table items is currently not
> supported:

> https://bugs.eclipse.org/bugs/show_bug.cgi?id=133586

> Please feel free to comment/contribute to this defect.

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:5d9a56ed7234e491bbc6b3cb0d5ea32e$1@www.eclipse.org...
>> Thanks Paul for ur reply.yes this is referencing a combobox.but i m able
>> to record combo box element. but when i m using combobox in a table with 3
>> column and there is a combobox in third column. Is there any way to record
>> this type of combo box.
>>
>> Paul Slauenwhite wrote:
>>
>>> Hi Asha,
>>> This error indicates that line 43 of the AGR test case is referencing
>>> a combobox that could not be located when the AGR played back the test
>>> case.
>>
>>> Paul
>>> "Asha " <asha@readiminds.com> wrote in message
>>> news:811c8b2f5c389c67c12a045b412be025$1@www.eclipse.org...
>>>> sorry for late reply..i didn't check it for long time...plz reply soon
>>>>
>>>>
>>>> org.eclipse.core.runtime.CoreException
>>>> Error while executing a macro command: MacroCommand [choice-select, line
>>>> 43]
>>>> java.lang.ArrayIndexOutOfBoundsException: 0
>>>> at
>>
org.eclipse.tptp.test.auto.gui.internal.commands.ChoiceSelec tionCommand.playback(ChoiceSelectionCommand.java:143)
>>>> at
>>
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1210)
>>>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>>>> at
>>>>
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>>> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3659)
>>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3296)
>>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>>>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>>>> at
>>>>
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>>>> at
>>>>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>>>> at
>>
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>>>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>>>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>>>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>>>> at
>>>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>>>> at
>>>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>>>>
>>>>
>>
>>
Previous Topic:How to run AGR-Tests in standard-mode
Next Topic:Workspace issue during testing.
Goto Forum:
  


Current Time: Thu Apr 18 21:18:06 GMT 2024

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

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

Back to the top