Your Search Results

    TPS Tab Lists

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

    A tabs asset list is an array of objects with the following keys:

    • uri: the uri of the tab, required.
    • title: the title of the tab, optional. If specified, only used during verify actions.
    • profile: the name of the profile the tab belongs to. Required for verify actions.

    For example:

    var tabs1 = [  
      { uri: "",
        title: "Crossweave Test Page 1",
        profile: "profile1"
      { uri: "data:text/html,<html><head><title>Hello</title></head><body>Hello</body></html>",
        title: "Hello",
        profile: "profile1"

    Tab lists and phase actions

    Tabs cannot be modified or deleted, only added or verified with the following functions:

    • Tabs.add - opens the specified tabs in the browser window.
    • Tabs.verify - verifies that the specified tabs can be found in the specified profile.
    • Tabs.verifyNot - verifies that the specified tabs cannot be found in the specified profile.

    There are a handful of static pages at which can be used for tab testing, and data: url's can be used as well.


    See the TPS tabs unit test:


    Contributors to this page: jgriffin
    最終更新者: jgriffin,