| || |
Get data dynamically from Message Window.
I am having a Banking Application. and I am creating accounts for users. The fields on the screen are :
1.Customer Name, DOB, Branch of Bank,Account Type.
After all the details are entered the account number is generated automatically and is shown in the small pop up window. More details explained below.
The Account number field does not exist in the GUI, only a message box ( a small window) pops up which says :
Window title is shown as Success
The inside message is :"New account created : ACT070725682003.
I want to capture this account number each time I create an account.
Re: Get data dynamically from Message Window.
Try running the application to the point where the pop-up occurs, then do a create->get text->from object/window.
Or you could add the window and the static text object to your GUI Map and use static_get_text().
Once you have the text stored to a variable, parse out the last 15 characters/number. (ie AccountNumber = substr(sText,20);
where sText is the text obtained from the static_get_text() function.
Hope this helps...