Indicates whether the specified tab is a sibling of this tab object in the same browser window. Navigates to the home page configured in the browser's settings. Highlights the object in the application.Ĭlicks a button on the browser dialog box (alert, confirmation, or prompt) after entering a value if necessary. Returns the value of the specified description property from the test object description. Returns the collection of properties and values used to identify the object. Returns the current value of the description property from the object in the application. Retrieves the text displayed in a browser dialog box such as alert, confirmation, or prompt. Sets the browser's full-screen mode off or on or toggles it. Navigates to the next page in the browser history list. Runs the JavaScript stored in the specified file each time a page or frame loads or refreshes in the browser. Runs the specified JavaScript each time a page or frame loads or refreshes in the browser. Returns the collection of properties and current values from the object in the application.Ĭloses the browser window (or tab) that this test object represents.Ĭloses all tabs (if any) and closes the browser window.Ĭhecks if a browser dialog box (such as alert, confirmation, or prompt) is currently open. Returns the collection of child objects contained within the object. bmp image using the specified file name.Ĭhecks whether the actual value of an item matches the expected value.Ĭhecks whether the actual value of the specified object property matches the specified expected value within the specified timeout. Saves a screen capture of the object as a. Navigates to the previous page in the browser history list. Note: You can also view a list and descriptions of the Browser description properties, for use in object repository descriptions, programmatic descriptions, checkpoint and output value steps, and as argument values for the GetTOProperty and GetROProperty methods. The sections below list the built-in methods and properties that you can use as operations for the Browser object. You can learn WPF objects by starting to the Navigate and Learn function from the WpfWindow object. Learning all objects in the Browser window of an XBAP application only learns the Web objects. Note: When working with an XBAP application, the Navigate and Learn function does not learn SWF objects in a Browser window. You can add these description properties to the default browser object definitions in the Object Identification dialog box or to a specific browser object in the Object Properties dialog box or the Object Repository window. For example, the HasToolbar description properties (True/False) can be used to help filter out popup advertisement browser windows, which do not normally have toolbars, and the OpenedByTestingTool description properties (True/False) can help to identify the specific browser(s) that UFT One opened. The name of the Browser test object is the same as the name of the first Page test object that is learned in that browser or tab.Īlthough by default, the Browser test object has only the CreationTime property in its description, you can add properties to the description to enhance proper Browser identification. Learn more about how private browsing works.A Web browser (or browser tab).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |