Notifications
Announcements
No record found.
Description:
the testcase will failed and have a error:(400) Bad Request, when running BVT testcase, and attached the specified error message.
<Message>Test method MS.Dynamics.Test.BAT.Foundation.XppSDK.InteractionService.InteractionService.DataMethodsBoundToFormsAndDataSourcesHonorEdtPrecision threw exception: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.</Message>
Hi Apple,
It would be great if you can explain your definition of the abbreviation BVT. Is the B for Business or Build?
Can you explain in detail what was running and on what type of environment?
Hi André
the environment is ax7 , B of BVT is Build and in this testcase , will open the form , and it will failed when open the form,please give me some suggestion.
Is this the case for everyone?
Are there any proxies or firewalls active?
Please check the windows event for more details.
You can restart the "AOSService" in IIS.
Try to clear the cache and restart the browsers or you can try to login in from multiple devices.
Hope this helps.
Hi Will
I should modify the testcase not do some manual to improve, so i don't know how to deal with it.
Hi ,
Please provide more codes.
It can only be seen from the error that there is a problem with the request parameters.
I don't know what's the 'cm'.
Please refer to the code to open a form.
static voidOpenForm_ThroughCode(Args _args) { Args args; Object formRun; // open form args = new Args(); args.name(formstr(FormName)); formRun = classfactory.formRunClass(args); formRun.init(); formRun.run(); formRun.wait(); }
Hi will
sorry, the cm has been declared in the class : static ClientCommunicationManager cm;
I'am sorry that I have no idea about how to use the ClientCommunicationManager .
Why don't you try the normal way to open a form.
Hi Will,
Thanks for your answer, because the code is created by other , i will continue it ,thanks!.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional