Page 1 of 1

SAP Dashboards automation using ranorex

Posted: Tue Aug 16, 2016 10:26 pm
by tell2srik
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

Re: SAP Dashboards automation using ranorex

Posted: Wed Aug 17, 2016 10:09 am
by Martin
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

Re: SAP Dashboards automation using ranorex

Posted: Fri Aug 19, 2016 7:42 pm
by tell2srik
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.

Re: SAP Dashboards automation using ranorex

Posted: Tue Aug 23, 2016 8:39 am
by RobinHood42
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

Re: SAP Dashboards automation using ranorex

Posted: Wed Aug 24, 2016 9:51 pm
by tell2srik
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.

Re: SAP Dashboards automation using ranorex

Posted: Thu Aug 25, 2016 7:50 am
by Martin
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