Connect to an Oracle Database in Swift - oracle

I am using Xcode 7, Swift, and the new UI Automation announced at WWDC 15. I want to test some things in an oracle database after some of my UI automation tests have run.
Can this be done? If so how do you do it? I can't seem to find any sort of documentation on the subject.

The mobile phone doesn't guarantee a permanent and stable network connection and is a big problem for direct connection to DB.
For mobile platforms you need to create a web service on a server that will do all the work between database and mobile application. It is not recommended to connect directly to databases, except when it is local databases(SQLite).

I just upvoted #lurie-manea answer, in addition to that you shouldn't rely on Xcode UI test for testing your DB transaction once you have your web service implemented since you'd be able to test the DB state with XCTest(app tests) or if you using AppCode for writing code, it has nice plugin to test restful web services,
https://www.jetbrains.com/objc/help/testing-restful-web-services.html
Hope this helps.

Related

Any way to test out Oracle Simphony on my computer?

I have a task of integrating Oracle Simphony with a third-party application using the Transaction Services API. Problem is I've never used or seen Simphony. There's this one installation guide: https://docs.oracle.com/en/industries/food-beverage/simphony/19.4/simig/t_install_all_in_one.htm
but I'm not sure this applies for testing purposes.
Is there a way to use Simphony for free for testing purposes?

Cypress Test automation for Oracle ADF application

I want to know if we can use Cypress UI Test automation framework for testing Oracle ADF applications?
Thanks
I would suggest for a more descriptive "need". Yes, it is possible to test "browser-based / web" applications created via Oracle ADF (assumption is you are not referring to desktop-based or mobile applications).
If you are testing the back-end (e.g. database) then it might be possible too (although not the best use case for Cypress) as long as the tests are scripted via JS. For example, AWS DB have their own JS SDK's which you can integrate with Cypress. SQL Server has this package as well: https://www.npmjs.com/package/cypress-sql-server

Connecting to Appharbor database from Xamarin Portable

I am new to Xamarin and I recently have an assignment that I need to access to a remote database through Xamarin Portable. I have an Appharbor database, and I heard that WCF will do the job. Any guidance to achieve that?
*It also needs the ability to alter the content of database.
The question is what database you use MSSQL ? At most databases you need something between the database and the App like WCF.
But today mostly used are Web API's for that thing. You can learn more about it here http://www.asp.net/web-api

looking for Parse alternative server

I'm a hobby developer that use Parse.com as my database and website host, as Facebook is going to shutdown Parse.com, I'm now looking for alternative Parse server.
I use Parse's Cloud Code Hosting to build Dynamic Web App, and Parse itself to store data collected from the website I've build, with custom Cloud Code to help getting and managing data. I've build a Windows Phone app for myself to manage the data I've collected too.
Is there any alternative server that has my requirement?
Dynamic Website
Database host
Custom Cloud Code (with BeforeSave and AfterSave trigger)
with Windows Phone SDK (or REST API if doesn't have)
Very thank you for helping me!
Try out Hasura.
Hasura (http://www.hasura.io): Hasura is a neat PaaS + BaaS solution. It is now competing with Firebase, Kinvey, Heroku et al. There is a full comparison page here: Compare | Hasura (https://compare.beta.hasura.io) . The difference majorly lies in infra ownership as well as no tech lock-in due to open-source components(like docker, kubernetes,postgres) building the major chunk of the platform. Check it out. There is also an option to explore (https://explore.beta.hasura.io/) Hasura by building your own blog web app and a todo app in under 15 mins.
Hasura should fit in perfectly for your needs.
DISCLAIMER : Hasura Engineer here.
I'm using Simbla website application development. It doesn't support all of your requirments but it has great UI builder with a backend parse database.
You can try using the parse open source server it has cloud code and you can use a custom database with it.

Phonegap App using Application express database

I'm about to make an application using phonegap but the database I have to use is already used by a web app made with oracle application express. So I wanted to know is there a way of creating a web service inside that web app to retrieve the data on my mobile app ?
The second option I was thinking about is not passing by the apex web app, but just trying to use a WS to access the oracle database (with all the problems I will have to face at deployment). Can someone give me some directives ? Thanks in advance.
One quick google search will give you a couple of presentations (1) (2)
About integration between Apex and Phonegap, and a book

Resources