Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
How to move the cursor to the next line and then get the value of a field of the previous line in Unit Test,please give me some suggestions ,Thanks!
A line of what?: Don't you mean that you're trying to test a form by your unit test and that you want to move to another record in a grid?
If so, why didn't you say that?
I'm sorry, i am not stated clearly. yes, i have Grid tab in the form , and i need test a form by create new record , move the cursor to the next line in a grid ,and then i should compare the field value of new record whether is updated when selecting next/other line .
can you give me some suggestions?
Consider if you really want to test GUI in your unit tests - it's slow, error-prone and you usually can test your logic directly, at least when you write testable code. It sounds like you're building a different type of tests than unit tests.
Anyway, when you move to another record, the previous record get saved. Therefore you can simply select the record from database and check whether it has expected values.
yes , thanks for your answer, i will check it .
Business Applications communities