Can we automate mainframe applications apart from screenshot function

Asked by Rishabh Sharma

Hi All,

I am trying to automate one mainframe application. Is it possible to capture the status and validate like we do in normal java.
if status== submit
{
click ok
}
else
{
click cancel
}
something like that

I have integrated openscript with sikuli using jars.
I want to do some validation checks for new values populating everytime.

Thanks in advance.
Regards,
Rishabh Sharma

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

You seem to know, what you are doing: just try it.

Keep in mind: SikuliX is all about pixels seen on a screen.

Revision history for this message
Rishabh Sharma (rish411) said :
#2

Thank You RaiMan. But its just like i only don't need to work with pixel and screenshots. I also need to capture the text from screen and paste it in my script. So just want to check if its possible using Sikuli.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Be aware of the known weaknesses of the text feature in actual SikuliX (Region.text())

To check wether the text you want to have can be read correctly, just run this oneliner in the SikuliX IDE:

uprint(selectRegion().text())

this will allow you to select a region containing text and watch the result.

take care, that at best only the area containing the text is selected.

If it is not satisfying, then you have the option to use the commandline Tesseract directly (using stored images and subprocesses).

If you are in Java or Java aware environments, Tess4J is surely an option, since it relies on Tesseract 3 allowing the available options to optimize the results. Same goes for the Tesseract command.

Revision history for this message
Rishabh Sharma (rish411) said :
#4

Thanks for the answer. One more thing is there... What is OCR Jar that we use in eclipse for sikuli??
I want to perform validations like if username is already entered it should not enter the username again else it should enter

Revision history for this message
RaiMan (raimund-hocke) said :
#5

the text features are all builtin in SikuliX 1.1.2+

see the docs.

Revision history for this message
Rishabh Sharma (rish411) said :
#6

I am not using the IDE, i am using jars in eclipse.

Revision history for this message
RaiMan (raimund-hocke) said :
#7

I know, I am talking about sikulixapi.jar.

Revision history for this message
Rishabh Sharma (rish411) said :
#8

Will it be able to capture unique values every time after a run?

Revision history for this message
RaiMan (raimund-hocke) said :
#9

You should really at least read once through the docs, have a look at the java API and simply try things.

The before mentioned question is not clear anyways.

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.