Question
Pegasystems Inc.
JP
Last activity: 14 Oct 2016 9:05 EDT
OpenSpan 7.1 How to automate dynamic HTML controls created by javascript
I am trying to automate a web page that creates controls dynamically using javascript. (for example, the editing area of HTML Rich Text Editor)
These dynamic controls only appear when a text box (this one is static) on the page is focused either by clicking on it or using TAB key to move the focus to it.
It is difficult to intterogate these dynamic controls because they will disappear as soon as the browser window lose the focus.
Initially, I thought that it maybe possible to display and navigate through these dynamic controls by firing a serises of key strokes using "SendKeys" method, however, it turns out that "SendKeys" method doesn't appear in the method list of a HTML control which class is OpenSpan.Adapters.Web.Controls.
Any ideas for automating dynamic HTML controls created by javascript ?
Chunzhi