cancel
Showing results for 
Search instead for 
Did you mean: 

Reading data from mainframe emulator

alfredfiz
Level 3
Blue prism extracts only partial data from mainframe emulator screen. Read screen action failed to retrieve exact text value from respective co-ordinates. Have any one came across the same scenario.

[Note : Only in control room run ]

------------------------------
alfred fiz
------------------------------
1 BEST ANSWER

Helpful Answers

Hi Alfred,

- What kind of mainframe emulator do you use (name, version, bits)?

- What type of spy mode do you use (Surface Automation or Mainframe spy mode)?

Best regards
------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------

View answer in original post

8 REPLIES 8

Hi Alfred,

- What kind of mainframe emulator do you use (name, version, bits)?

- What type of spy mode do you use (Surface Automation or Mainframe spy mode)?

Best regards
------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------

What kind of spy mode you are using ?

------------------------------
Jane Jebarson Senior Automation Engineer
Engineer
Allianz
Europe/London
------------------------------

GauravSaitwal
Level 2
Hi Alfred, 
Could you share which emulator you are using?
I have come across such scenarios where sometimes the text does not come back properly for the element (this is known behavior and mentioned in Mainframe automation guide) . Such cases, usually I would go to Application Modeler and adjust the co-ordinates for that element.

Thank you
Gaurav


------------------------------
Gaurav Saitwal
QA Lead
BNY Mellon Technologies
Asia/Kolkata
------------------------------

I'm using Rumba emulator. 


I tried to read the complete screen text by passing required co-ordinaries. It worked fine in test environment but only partial data is extracted in prod..



------------------------------
alfred fiz
------------------------------

Hi Alfred,

I suggest changing the X and Y value and match to the production screen to read all the text.

Sample snapshot:

17385.png

Best regards

------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------

I double checked the coordinate values and doesn’t find any differences.

To make it clear, I will explain exactly what happened. 


I was trying to read a element value from emulator screen.  

Element Value :    ''   _ xyz aaaa'' 
(two spaces, one underscore, few consecutive letters)

End x,End y values are (1,11) 

when I extract the  text using mainframe spy mode I recieved the output as "aaa" not ''  _xyz aaa '' 

{ I can notice that Blueprism failed to extract the correct values from the co-ordinates,  There’s always difference around 3 cell values as per the above mentioned scenario  }

Sadly it’s happening only in production region ( I'm using enough wait stages before & after doing screen navigations )

I compared the production & test screens no change in coordinates had been found. I’m damn sure about this. Also I checked the log files I can see these partial values are making the bot failed.




------------------------------
alfred fiz
------------------------------

Could you please tell me how you are adjusting the co-ordinates. 

Are you doing trial & error adjustment ? 

If the bot fails to read exact value from given coordinates then what kind of adjustment will help ?

please correct me if I am wrong.



------------------------------
alfred fiz
------------------------------

Hi Alfred,

Try to insert the value  (10 characters) "XXXXXXXXXX" and see if it can read/get all the characters or not if it can read all of them,
it means the coordinate value (X, Y) are good for reading the 10 characters.
and the problem you have for the '' _xyz aaa ''  related to the mainframe characters and your emulator return value (such as "_")

------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------