By default the recorder records the high level function BrowserSetText to set the text value of a text control. BrowserSetText uses high level calls to the Browsers DOM API rather than sending actual keystrokes, for example: BrowserSetText("//TEXTAREA[@id='textarea']", "run"); When you need to use modifier keys to trigger events use the BrowserTypeKeys function. BrowserTypeKeys replays keystrokes as if they were entered directly using the keyboard and also supports the use of modifier keys. In the example above you would replace the BrowserSetText with: BrowserTypeKeys("//TEXTAREA[@id='textarea']", "run "); Currently there is no support for the recording of BrowserTypeKeys, however it is simple to script - see help for details. Incident #2542497 Old KB# 35774 Created On: 06 April 2012
↧