<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: What functions are supported by the Navigator object when testing HTML? (Thread)</title><description> /**  * Returns HTMLObject wrapping DOM element for a given 'xpath'. HTMLObject is a   * {SeSObject} constructed by matching one of browser rules:  {@link  IEHTMLObject},  {@link  MozillaHTMLObject}, etc.  * @param xpath location path of a DOM element.  * @param [url] URL. If new navigator is launched, the URL is used.  * @param title  * @param objInfo  * @returns HTMLObject wrapping DOM element for a given 'xpath', 'null' if 'xpath' is invalid.  */ Navigator.Find = function(/**String*/ xpath, /**String*/ url, /**String*/ title, /**SeSObjectInfo*/objInfo) /**SeSObject*/    /**  * Executes given JavaScript statement in a browser and returns results.  * @param scriptText JavaScript code.  * @returns  */ Navigator.ExecJS = function(/**String*/ scriptText)     /**  * Opens a browser. If URL is specified, goes to URL.  * @param url start URL for opening browser. Can be 'null'.  */ Navigator.Open = function(/**String*/ url)     /**  * Closes browser. Finishes session.  * @param url   */ Navigator.Close = function(url)     /**  * Redirects browser to a specified URL.  * @param url URL to navigate.  */ Navigator.Navigate = function(/**String*/ url)     /**  * Waits until browser alert with a given text. Wait timeout is 10 seconds.  * @param msg alert text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser alert had occurred, 'false' otherwise.  */ Navigator.DoCheckAlert = function(msg) /**Boolean*/     /**  * Waits until browser confirmation with a given text.  Wait timeout is 10 seconds.  * @param msg confirmation text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser confirmation popup is shown, 'false' otherwise.  */ Navigator.DoCheckConfirmation = function(msg, result) /**Boolean*/    /**  * Set text to return as a result of next browser 'prompt' request  */ Navigator.DoSetExpectedPromptResult = function(expectedRes)     /**  * Set boolean value to return as a result of next browser 'confirm' request  */ Navigator.DoSetExpectedConfirmResult = function(expectedRes)     /**  * Waits until browser prompt with a given text.  Wait timeout is 10 seconds.  * @param msg prompt text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser prompt popup is shown, 'false' otherwise.  */ Navigator.DoCheckPrompt = function(msg, result) /**Boolean*/  </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/rapise/issues-questions/255.aspx</link><item><guid isPermaLink="false">threadId=255</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>What functions are supported by the Navigator object when testing HTML?</title><description> /**  * Returns HTMLObject wrapping DOM element for a given 'xpath'. HTMLObject is a   * {SeSObject} constructed by matching one of browser rules:  {@link  IEHTMLObject},  {@link  MozillaHTMLObject}, etc.  * @param xpath location path of a DOM element.  * @param [url] URL. If new navigator is launched, the URL is used.  * @param title  * @param objInfo  * @returns HTMLObject wrapping DOM element for a given 'xpath', 'null' if 'xpath' is invalid.  */ Navigator.Find = function(/**String*/ xpath, /**String*/ url, /**String*/ title, /**SeSObjectInfo*/objInfo) /**SeSObject*/    /**  * Executes given JavaScript statement in a browser and returns results.  * @param scriptText JavaScript code.  * @returns  */ Navigator.ExecJS = function(/**String*/ scriptText)     /**  * Opens a browser. If URL is specified, goes to URL.  * @param url start URL for opening browser. Can be 'null'.  */ Navigator.Open = function(/**String*/ url)     /**  * Closes browser. Finishes session.  * @param url   */ Navigator.Close = function(url)     /**  * Redirects browser to a specified URL.  * @param url URL to navigate.  */ Navigator.Navigate = function(/**String*/ url)     /**  * Waits until browser alert with a given text. Wait timeout is 10 seconds.  * @param msg alert text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser alert had occurred, 'false' otherwise.  */ Navigator.DoCheckAlert = function(msg) /**Boolean*/     /**  * Waits until browser confirmation with a given text.  Wait timeout is 10 seconds.  * @param msg confirmation text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser confirmation popup is shown, 'false' otherwise.  */ Navigator.DoCheckConfirmation = function(msg, result) /**Boolean*/    /**  * Set text to return as a result of next browser 'prompt' request  */ Navigator.DoSetExpectedPromptResult = function(expectedRes)     /**  * Set boolean value to return as a result of next browser 'confirm' request  */ Navigator.DoSetExpectedConfirmResult = function(expectedRes)     /**  * Waits until browser prompt with a given text.  Wait timeout is 10 seconds.  * @param msg prompt text. Can be exact text or regular expression,  * see 'exp' parameter of  {@link  checkCompare} function for more details.  * @returns 'true' if browser prompt popup is shown, 'false' otherwise.  */ Navigator.DoCheckPrompt = function(msg, result) /**Boolean*/  </description><pubDate>Tue, 13 Mar 2012 17:16:46 -0400</pubDate><a10:updated>2012-03-13T17:17:07-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/255.aspx</link></item><item><guid isPermaLink="false">messageId=488</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>We will be adding these to the main help documentation in Rapise 1.4.</title><description>We will be adding these to the main help documentation in Rapise 1.4.</description><pubDate>Tue, 13 Mar 2012 17:17:06 -0400</pubDate><a10:updated>2012-03-13T17:17:06-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/255.aspx#reply488</link></item></channel></rss>