cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle Application(Java) Menu closed before send click

SergeiEvdokimov
Level 5
Hello everybody!

When working with the application, I want to select the File-Export sub-menu. To do this, I click on the File menu item, then I want to click on the Export sub-item. But the menu closes immediately after the Navigation is executed by clicking the File. At the same time, everything is fine in the user interface, after clicking on the File menu, the application is waiting.

Perhaps someone has come across a similar one?

------------------------------
Sergei Evdokimov
------------------------------
15 REPLIES 15

Vamshi_KrishnaD
Level 5
Hi 

What is the spying mode are you using

------------------------------
VamshiKrihsna Dasa
System Architect
Fujitsu India Consulting Pvt. Ltd.
------------------------------
VamshiKrihsna Dasa System Architect Fujitsu India Consulting Pvt. Ltd.

Hi Sergei

What kind of click action are you using? Is it click centre or global mouse click or press? Also if this is an oracle database application is there any reason you cant extract the info using Oledb connection instead of automating the front end application? This is usually much simpler and streamlines your process.


------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------

Hi

I using Java mode for spying


------------------------------
Sergei Evdokimov
------------------------------

Hi Michael

Using global mouse click. Only this click action and double click are available. Press - not working. 

Yes, we can query data from the database table. But this is time for coordination with administrative services, a request to the development department and creation of a view ... And this is still a successful solution lasting several weeks)) But we seem to be talking at the RPA forum 🙂 and Blue Prism should be able to precisely rob the process in the user level.


------------------------------
Sergei Evdokimov
------------------------------

Hi Sergei

Blueprism RPA is capable of querying the database using the standard Data-Oledb VBO and shouldnt require creation of the view or access to sql developer just the sql query and a valid username and password. However if it is not possible in your current project then front end extraction is fine, can you tell me if the item you're selecting is from a drop down list? Can you possibly provide some screen shots of the problem you're having so I can understand the problem a little better?

------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------

Thanks for your reply .
If I understand you correctly, then you propose a way to access the database data using the OLEDB.
This will still require approvals, because we will need to get the rights to read the data, that is, we will need to create a separate user in the database with read rights for this.
The view is just created in order to restrict access to information in the database. But I described the way to get access to the view in the previous post.


Yes, here is a screenshot of the Java application menu I'm talking about.
16586.png


------------------------------
Sergei Evdokimov
------------------------------

thanks Sergei, yes the database functions are included in blue prism and usually are very simple and straight forward to implement. Although it doesnt sound like its an option in your current project keep it in mind for future projects it will greatly reduce development time.

For the issue you are having with the file menu there are a couple of possible solutions, one would be to re-spy using a different method or you could try spying the entire list menu and try using a navigate to select item using name and position.

If neither of these are suitable then the next option would be to use global send key events to select the menu item. This is is done by using the click to open the file menu then using the root application in a navigate stage and selecting global send key events. For this action you need to include the keystroke actions, for this menu list you want to press DOWN until you reach the item then press ENTER.  So you may need to press DOWN 6 times to get to export then press ENTER. Add these in this format "{DOWN}" "{ENTER}". For the down action you can either add these as individual steps (recommended) or include them in one single step e.g. "{DOWN}" "{DOWN}" "{DOWN}" "{DOWN}" "{DOWN}" "{DOWN}"

I've included a couple of screen shot as an example to follow. Hopefully this is helpful, let me know how you get on with this and if it works for you. 🙂
16587.png
Hopefully this is helpful, let me know how you get on with this and if it works for you. 🙂


------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------

You can also use menu shortcuts - Alt-F, Alt-E (underlined letters), instead of pressing downdowndown

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------

I think things like Alt-F open the file menu but I'm not sure if you would be able to use these to select an item from the menu list. The down button would be to select an item from the menu list once its open. So in Sergei's example it would be ALT-F to open file menu, {DOWN}, {ENTER} would select "New" from the menu list.

------------------------------
Michael ONeil
Technical Lead developer
Everis Consultancy
Europe/London
------------------------------