Search code examples
rft

Browser How to maximize the browser automatically while playback


How to maximize the browser automatically while playback the web application script in rational functional tester(Rational Functional Tester)?


Solution

  • Simply call maximize() on the BrowserTestObject:

    startApp("Google");
    browser_htmlBrowser().maximize();
    

    Or record the click on the maximize Button, which gives you:

    browser_htmlBrowser(document_google(),DEFAULT_FLAGS).maximize();