SAP Dashboards automation using ranorex

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
tell2srik
Posts: 3
Joined: Tue Aug 16, 2016 9:59 pm

SAP Dashboards automation using ranorex

Post by tell2srik » Tue Aug 16, 2016 10:26 pm

Trying to automate the application built on SAP Dashboards which are using Flash/Flex technology. Not sure where to start any help on the approach would be appreciated.

•Operating system : Windows 7
•Ranorex version : 5.4

attached application UI
Attachments
pic.png
application UI
pic.png (114.6 KiB) Viewed 853 times

Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: SAP Dashboards automation using ranorex

Post by Martin » Wed Aug 17, 2016 10:09 am

Well open the Spy tool and start identifying.

If you have an issue you should describe it here. What is the exact problem you are facing currently?

Some reading regarding SAP automation: http://www.ranorex.com/forum/spy-can-t- ... t8446.html

And as it uses flash, you should read this as well: http://www.ranorex.com/support/user-gui ... sting.html

Regards
Martin

tell2srik
Posts: 3
Joined: Tue Aug 16, 2016 9:59 pm

Re: SAP Dashboards automation using ranorex

Post by tell2srik » Fri Aug 19, 2016 7:42 pm

I would like to know how to connect to Oracle DB and SAP HANA DB. Does ranorex support SAP DB?
1) Also i am trying to run a query in oracle DB and store the result in a variable called var1
2) Capture the similar data from UI dashboard and store in Var2
3) compare the result var1==var2
4) report result

UI attached in earlier post.

User avatar
RobinHood42
Posts: 239
Joined: Fri Jan 09, 2015 3:24 pm

Re: SAP Dashboards automation using ranorex

Post by RobinHood42 » Tue Aug 23, 2016 8:39 am

Hello tell2srik,

Regarding the support for SAP HANA DB, I'm afraid that there is no out-of-the-box support, but since Ranorex is based on C# you should be able to connect to your DB using your own implementation (user code).

http://scn.sap.com/community/developer- ... na-using-c

Once you established the connection, you should be able to store the values to module variables. Further information can be found here: http://www.ranorex.com/support/user-gui ... dules.html

Also, the comparison and reporting can be done within your user code. Many samples and further guidance can be found here: http://www.ranorex.com/support/user-gui ... mples.html

Cheers,
Robin

tell2srik
Posts: 3
Joined: Tue Aug 16, 2016 9:59 pm

Re: SAP Dashboards automation using ranorex

Post by tell2srik » Wed Aug 24, 2016 9:51 pm

Hi Robin

Thanks the links helped. I am having issues with tool not identifying the flash elements on UI. i have enabled flash/flex in ranorex.

I have attached screenshot for reference.
Attachments
ranorex object identification issue.png
ranorex object identification issue.png (72.95 KiB) Viewed 803 times

Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: SAP Dashboards automation using ranorex

Post by Martin » Thu Aug 25, 2016 7:50 am

Hey again!

Please post a snapshot (not a screenshot!) of the problematic area.
A guide on creating a snapshot can be found here: http://www.ranorex.com/support/user-gui ... files.html