Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » [AGR] Menu item problems (posting on behalf of user)
[AGR] Menu item problems (posting on behalf of user) [message #88201] Tue, 21 November 2006 12:00 Go to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Hello,

I am trying to record a test scase using the Automated GUI test tool.

I start recording and switch to the application I am trying to test, which
adds a menu to the menu bar.

If I select any menu item from the menu bar and then terminate the script I
get a dialog with the message:

'An uncaptured error occured while attempting to generate the macro. The
test case will not be created, try a different sequence of UI actions'

Clicking OK in this dialog ends the recording and no test case is created.

I can record fine using other menus or using the same functionality but from
the right click menu in the application window.

So does anyone know why I can not record from the menu which appears in the
menu bar?

Thanks,

Ian.
Re: [AGR] Menu item problems (posting on behalf of user) [message #88339 is a reply to message #88201] Tue, 21 November 2006 13:57 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Can you run Eclipse in a command window and copy and paste the stack trace
that is printed when your run through your use case?
Hopefully the stacktrace can give me a clue of what is going wrong.


Thanks,
Ali Mehregani

"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:ejvbc5$vkt$1@utils.eclipse.org...
> Hello,
>
> I am trying to record a test scase using the Automated GUI test tool.
>
> I start recording and switch to the application I am trying to test, which
> adds a menu to the menu bar.
>
> If I select any menu item from the menu bar and then terminate the script
> I get a dialog with the message:
>
> 'An uncaptured error occured while attempting to generate the macro. The
> test case will not be created, try a different sequence of UI actions'
>
> Clicking OK in this dialog ends the recording and no test case is created.
>
> I can record fine using other menus or using the same functionality but
> from the right click menu in the application window.
>
> So does anyone know why I can not record from the menu which appears in
> the menu bar?
>
> Thanks,
>
> Ian.
>
>
Previous Topic:IS there any example to extend AGR's record and replay function?
Next Topic:TPTP Code Coverage
Goto Forum:
  


Current Time: Fri Aug 01 20:28:15 EDT 2014

Powered by FUDForum. Page generated in 0.11902 seconds