cancel
Showing results for 
Search instead for 
Did you mean: 

Inconsistant response from Blueprism - Global Send Key

DebashisGhosh1
Level 4
Hi Team,

We have one web base application where we need to perform below action:
1. Need to place one outbound call from the application by pressing one calling button.
2.There is one INPUT box where we have to write the contact no to place the call.
3. After providing the input as contact no in the input box we have to press the "Call" button. The call button has two characteristics :
            a. If the input contact no is written correctly and then press the call button - it will place the call correctly.
            b. If the input contact no is NOT written correctly and then press the call button - it will open the phone search directory which is not part of the automation scope and not the desire part.

Problem Statement: Sometimes it's writing the contact no in the input box and placing the call correctly sometimes it's not.
Note : The application is only Spyable in Browser mode and we have to access the application via Chrome browser only.

Solution Tried
:
1st Method : Normal "Write" stage used to write and press the Call Button (Via pressing [Tab] and then [Enter] Button)
Result: Inconsistent bahaviour. Sometime it's successful sometimes it's failing.

2nd Method: Used Navigate Stage to pass Global Send key where we did [Activate Window + Focus + Click Centre+ Global Send Keys (Passing text) + Again Click (To activate the Calling Button)] then in the next "Navigate" Stage we are passing {Tab} and {Enter} to place the call.

Note: For each individual action we have placed 1 Sec wait time.

Result
:Inconsistent bahaviour. Out of 5 runs it's 2 times success and 3 times fails.

Question: Is there any other though or suggession to mitigate this issue ?  Please let us know.
BP Version : 6.6

Thanks for all your support in advance.



------------------------------
Debashis Ghosh
------------------------------
Debashis Ghosh
4 REPLIES 4

VivekGoel
Level 10
Suggestions:

Method1: Assuming your issue occurs after entering the data and while pressing the call button. After entering the data, can you check if call button exists, if it exists, send a click center.

Method 2: Give some time gap between  {Tab} and {Enter}.

------------------------------
Vivek Goel
"If you like this post, please press the "Recommend" Button.
------------------------------

Hi Vivek,

Thanks for the suggestion.

The pain area is that the call button does not show dual properties (Like Active and Inactive - tried to capture dual properties via Spying element). It's always active in state.
Whenever it senses there is an input in the text box then it's working as call button otherwise it's working as phone directory button. My assumption is that the global send key is not writing the text in the input box area though we used global send key like below :
(Activate Window + Focus + Click Centre+ Global Send Keys (Passing text) + Again Click)
Multiple(3) retry added. The logic is : (Write Text in input box - > Reading the input - > If written properly then it will place the call)
As we are using BP6.6 version we are providing wait time of 2 secs for each of the action in the Navigate stage.
Method 2 already implemented.
Out of 5 Production run it's working 2 times and 3 times it's getting failed.



------------------------------
Debashis Ghosh
------------------------------
Debashis Ghosh

When you using the Send Keys method, in what way does it fail? Does it send only some of the keys but not all? Does it send no keys into the blank at all on those times that it fails? 

I have found that a slightly more consistent approach to using send keys is to copy the text to the clipboard and paste into the blank. This may also not be 100% successful, but I suspect it may be more so than sending each key individually. This of course is assuming that the app doesn't require each key to be typed separately.

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------

Dave Morris, 3Ci at Southern Company

Hey Dave,

Coming to your first question - it never fails when we use to run in atended mode. But while running in unattended mode (Objects kept in Background mode) sometimes it's failing sometimes not. We found from the screenshot that it's not at all writing the input text in the input box (Though tried with global send Keys) somtimes and it's creating the issue. seccond approach we have not tried but we will see.

Thanks for your suggestion.

------------------------------
Debashis Ghosh
------------------------------
Debashis Ghosh