Q: How to perform surface
automation technique?
In order to integrate with a thin client application we
must redefine the application surface as a series of rectangles or regions.
Launch
the application from Application Modeller if you haven’t already done so.
Select
the Calculator Screen element and click the Identify Element button.
Press the ALT key to cycle through the different spy
modes, stopping at Region mode.
Move the mouse over the application to see that it
highlights elements much in the same way as Win32
Using the identification tool select the entire
Calculator application (as above) and CTRL left click to open the Region
Editor.
Q: What is sendkeys in thin
client applications?
In controlling the application we have learnt how to
create regions and use the mouse to click on the region. Typically however a
user will need to also send keystrokes to the application.
Normally in Blue Prism you would use the Write stage to
send data to an application. This is not possible with a thin client
application though, (remember it is a virtual application that does not really
exist on the local machine) so we must send keystrokes to the application. To
do this we use the Global SendKeys method.
Q: Exception bubbling:
It is a concept ofhandlingthe exception. When and where
exception will be handled?
Many times when you catch exception, do not want them to
be handled during that time. Rather you would like to propagate the same to the
caller and let the caller handle the same. For such kind of scenarios we use
exception bubbling.
For instance if you have raised exception in a business
class, you would probably like to bubble it to the UI so that it can be
displayed in a message box for the end user.
Q: BP Limitations:
OCR. It can’t identify or recognize the signature related
images.
Q: Reading of
HTML content dynamically using BP. If we have dynamic table in web page, how
will you identify the content?
It can be handled in the
Application Modeller itself. Verifying path property of selected HTML element
and check for “<tr><td>” tags in the Application Modeller.
No comments:
Post a Comment