Question Status

Suggested Answer
Georgek asked a question on 18 Aug 2014 5:25 PM

Is there a way to record a macro in AX. In other words to record some steps and then exexute the same steps multiple times just like the macro in GP?

My answers are based on facts not assumptions

I've been a member for 2 years and all I got...  Ask for Help 2  Thanks for the Help 2  Problem Solver 1 

Reply
Suggested Answer
StevenK responded on 18 Aug 2014 6:08 PM

Hello, I'm not familiar with GP. However if it works similar to a macro in Excel, then the answer is no. However there are tools available that enable you to do this using Visual Studio, msdn.microsoft.com/.../jj620891.aspx

Regards,

Steve

Reply
Georgek responded on 18 Aug 2014 8:52 PM

GP MACROS  allows you the record steps and then exexute the steps automated. Example: record steps of how to create a sales order then execute the same steps 1000 times. This will result in creating 1000 Sales order.

My answers are based on facts not assumptions

I've been a member for 2 years and all I got...  Ask for Help 2  Thanks for the Help 2  Problem Solver 1 

Reply
Suggested Answer
StevenK responded on 18 Aug 2014 11:25 PM

Then you will need to use Visual Studio to record user UI actions and replay them. There is no tool within standard AX which allows the user to capture their UI actions and replay them.

Reply
Suggested Answer
Nitesh Ranjan responded on 18 Aug 2014 11:38 PM

In AX you have task recorder using which you can create Word document or power point presentation but not something like automated process to create data

In AX we have one performance Benchmark tools which is .net based SDK application using which you can do this.. you can automate the process and create the data..

basically this tool is used for performance testing

Please download the white paper related to this over here

www.microsoft.com/.../details.aspx

Please verify and update us if this is helpful to you


Please update with your feedback.

Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant

If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details https://community.dynamics.com/braggerbadges/badge/48.aspx)

Reply
André Arnaud de Calavon responded on 19 Aug 2014 12:53 AM

Hi George,

Nitesh is correct. You can also have a look at the Unit Test Framework:

msdn.microsoft.com/.../aa874515.aspx

kind regards,

André Arnaud de Calavon  |  Microsoft Dynamics AX Solution architect  |  My blog  |  My company

This post is my own opinion and does not necessarily reflect the opinion or view of my company, Microsoft, both its employees, or other MVPs.

Reply
Rudi Hansen responded on 19 Aug 2014 1:44 AM

I have not come a cross that function in Ax, but this is a tool that might help you.

http://www.autohotkey.com/

Best regards
Rudi Hansen Obtain ApS
Blog http://rudihansen.blogspot.dk/
 

Reply
Georgek responded on 19 Aug 2014 12:09 PM

Thanks everyone

 

Rudi Hansen: would it be possible to provide us with more information/steps on your proposed solution.

Thanks

My answers are based on facts not assumptions

I've been a member for 2 years and all I got...  Ask for Help 2  Thanks for the Help 2  Problem Solver 1 

Reply
Rudi Hansen responded on 21 Aug 2014 3:33 AM

Hi Georgek, you should be more precise.

Witch of the proposed answers do you want a description of how to test.

Best regards
Rudi Hansen Obtain ApS
Blog http://rudihansen.blogspot.dk/
 

Reply
Suggested Answer
StevenK responded on 18 Aug 2014 6:08 PM

Hello, I'm not familiar with GP. However if it works similar to a macro in Excel, then the answer is no. However there are tools available that enable you to do this using Visual Studio, msdn.microsoft.com/.../jj620891.aspx

Regards,

Steve

Reply
Suggested Answer
StevenK responded on 18 Aug 2014 11:25 PM

Then you will need to use Visual Studio to record user UI actions and replay them. There is no tool within standard AX which allows the user to capture their UI actions and replay them.

Reply
Suggested Answer
Nitesh Ranjan responded on 18 Aug 2014 11:38 PM

In AX you have task recorder using which you can create Word document or power point presentation but not something like automated process to create data

In AX we have one performance Benchmark tools which is .net based SDK application using which you can do this.. you can automate the process and create the data..

basically this tool is used for performance testing

Please download the white paper related to this over here

www.microsoft.com/.../details.aspx

Please verify and update us if this is helpful to you


Please update with your feedback.

Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant

If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details https://community.dynamics.com/braggerbadges/badge/48.aspx)

Reply