Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Test Pages

Microsoft Dynamics NAV 2013

You can use test pages to mimic actual pages so that you can test the code the page. There are two types of test pages:

  • TestPage

  • TestRequestPage

You use the TestPage Functions to:

  • Open and close test pages.

  • Navigate among records to display on the test page.

  • Navigate among fields on the test page.

  • Expand and collapse rows on a test page.

  • Create a new record from a test page.

  • Get the options and option count for an option field.

  • Get validation errors and error counts.

You use the TestPage Field Functions to:

  • Set the focus on a specific field.

  • Set the value of a field.

  • Compare the value of a field.

  • Simulate the drop-down arrow, drill-down, and lookup buttons on a field.

You use the TestPage Filter Functions to set filter parameters, such as current key, and direction to display the results, such as ascending or descending.

You use the TestPage Action Functions to invoke an action on a page. This includes both actions that you define in Page Designer and built-in actions, such as Yes, No, OK, and Cancel.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.