Testing the Mobile Application XML

You can now build and run the application to test it. When you run the application, the opening screen, MobileWebform1.aspx page, is displayed, as shown in Figure.

The Mobile Webform1.aspx Page at Runtime.

The Mobile Webform1.aspx Page at Runtime.

As you can see, the opening page contains links to the MakeReservations, ViewReservations, ModifyReservations, and CancelReservations pages. You can click on all these links to test the respective pages. To test these pages, perform the following steps:

  1. Click on the Make Reservation link. Clicking on this link takes you to the Panel1 control of the MakeReservations page, as shown in Figure.
  2. The Panel1 Control of the MakeReservations Page at Runtime.

    The Panel1 Control of the MakeReservations Page at Runtime.

  3. Specify the required information and click on the Calculate Rental button.
  4. The Panel2 control of the MakeReservations page is displayed, as shown in Figure.

    The Panel2 Control of the MakeReservations Page at Runtime.

    The Panel2 Control of the MakeReservations Page at Runtime.

    The Panel2 control shows the rental charges for the information specified in the Panel1 control. In addition, the Panel2 control contains a Make Reservation button that allows you to make a reservation.

  5. Click on the Make Reservation button. The Panel3 control, as shown in Figure, is displayed.
  6. The Panel3 Control of the MakeReservations Page at Runtime.

    The Panel3 Control of the MakeReservations Page at Runtime

    As you can see, this control shows a confirmation message for your reservation. It also contains a Back button that takes you back to the opening screen.

  7. Click on the Back button.
  8. Click on the View Reservation link. The ViewReservations page is displayed, as shown in Figure.
  9. The ViewReservations Page at Runtime.

    The ViewReservations Page at Runtime.

  10. In the ViewReservations page, specify values in the Customer Name and Customer Key text boxes, and click on the Get Reservations Details button.
  11. The Panel2 control of the ViewReservations page is displayed. This page shows the details of the reservation, such as Location, Date, Duration, and Vehicle Type. Access this information and click on the Back button, as shown in Figure. Clicking on the Back button takes you to the opening screen.
  12. The Panel2 Control of the ViewReservations Page at Runtime.

    The Panel2 Control of the ViewReservations Page at Runtime.

  13. In the opening screen, click on the Modify Reservation link. The ModifyReservations page is displayed, as shown in Figure.
  14. The ModifyReservations Page at Runtime.

    The ModifyReservations Page at Runtime.

  15. Specify the Customer Name and Customer Key, and click on the Get Details button. The Panel2 control of the ModifyReservations page is displayed, as shown in Figure.
  16. The Panel2 Control of the ModifyReservations Page at Runtime.

    The Panel2 Control of the ModifyReservations Page at Runtime.

  17. Modify the data as required, and click on the Save Data button.
  18. The Panel3 control of the ModifyReservations page that contains a confirmation message is displayed. The Panel3 control is shown in Figure. Click on the Back button to return to the opening screen.
  19. FThe Panel3 Control of the ModifyReservations Page at Runtime.

    FThe Panel3 Control of the ModifyReservations Page at Runtime.

  20. Click on the Cancel Reservation link. The CancelReservations page is displayed. This page is shown in Figure.
  21. The CancelReservations Page at Runtime.

    The CancelReservations Page at Runtime.

  22. This page prompts you to specify the information required to cancel a reservation. The information includes the name of the customer, the customer key, and the pickup date. Specify the required information, and click on the Cancel Reservation button. A message confirming the cancellation is displayed, as shown in Figure.
  23. The Message Confirming the Cancellation.

    The Message Confirming the Cancellation.

  24. Click on the Back button. The Back button takes you to the opening screen.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XML Topics