2nd Chapter 4 "Monkeyrunner Source analysis" Know your test object: Notepad Window Activity Menu Introduction (original)

Source: Internet
Author: User

Heaven Zhuhai Branch Rudder note : Originally this series is to prepare a book, details please see the earlier blog "to seek partners to write the deep understanding of Monkeyrunner" books. But for many reasons, there is no wish. So the draft is shared here, so mistakes are unavoidable. If necessary, please refer to the following, the forwarding of the word also keep the end of each article source and other information.

Notepad Window Activity Menu Introduction

Here we use a total of two types of menus, one is called context menu, is a contextual menus, a kind of called option menu, we press the System menu button will pop out of the system menu options.

Notepad context menu is when the user in the Noteslist interface long press a diary when the pop-up, the main content has a few menu options:

    • Open: Opens the journal into the Noteeditor interface for editing
    • Delete: Remove the journal
    • Edit title: Enter the Titleeditor interface for editing the journal

      Figure 2-4-1 Context Menu Example

While pressing the System menu button, the popup system menu option has only one menu option on the Noteslist page:

    • Add Note: Clicking on this menu option will go to the Noteeditor interface to add a new diary to the process

      Figure 2-4-2 Noteslist Interface Add note menu options

On the Noteeditor page, depending on whether a new journal is added or a journal is edited, the contents of the System menu options will vary.

When adding a journal, the System menu option will have two items, one of which is save, which is used to keep the diary, and one is discard to discard the changes to the journal. Two options are automatically directed to the main activity of noteslist when clicked.

Figure 2-4-3 System menu options for Noteeditor interface when adding journaling

When editing a diary, in the Noteeditor interface if we click on the System menu button, the pop-up menu options will be different, in addition to save this modification saves the menu options, there will be a few other options, here do not list the description, after all, in future examples will not use the other options. Of course, if you are interested, you can try it yourself. The following screenshot shows the menu options below.

Figure 2-4-4 System menu options for the Noteeditor interface when editing a journal

Heaven Zhuhai Branch Rudder
Public Number: Techgogogo
Weibo: Http://weibo.com/techgogogo
Csdn:http://blog.csdn.net/zhubaitian

2nd Chapter 4 "Monkeyrunner Source analysis" Know your test object: Notepad Window Activity Menu Introduction (original)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.