? QA Design Gurus: How to develop and TEST an IoT App using cloud dev platforms

Sep 28, 2015

How to develop and TEST an IoT App using cloud dev platforms

As this is IoT Apps trend, I would like to tell you about a small IoT application. i.e. Switching an electrical bulb ON/OFF from a cloud application.

We used Rollbase application development platform. This platform has excellent feature called triggers. Using these triggers we can invoke external REST service. This platform also can be accessed from external system using REST services. I am sure Salesforce also has this kind of feature.

Software & Hardware Requirements:

1) Rollbase (http://www.rollbase.com)
2) Raspberry Pi 2
3) USB WiFi Dongle
4) Relay board
5) Some jumper Wires
6) Bulb and some home electric wires

High-level Steps:

1) Create an application in Rollbase
2) Create two buttons ON & OFF. (Required some Rollbase platform knowledge)
3) Create triggers and attach to ON and OFF buttons
4) Connect Raspberry Pi  to Wifi using WiFI Dongle
5) Connect Raspberry Pi & Relay board using Jumper wires
6) Connect Relay board with the Electrical bulb.
7) Write python scripts to switch ON/OFF the Electrical bulb.
8) Expose these python scripts as RESTful services
9) Invoke these scripts from Rollbase triggers.



We can also develop a Telerik Mobile app using this Rollbase application. We can invoke switching ON/OFF REST Services from Mobile App and through Rollbase application as well.

Now the challenge is how to test this kind of Application. We may figure out software bugs easily but detecting hardware defects is little difficult. We should have always extra wires and hardware. Once we double confirm that there are no software defects then we should try changing the wires and other hardware devices. Jumper Wires looks fine but may not work some times.

1 comment:

  1. TEST an IoT App using cloud dev platforms
    Mobile App Testing effort good blog,

    Mobile App Testing Services by Prova Solutions help discover malicious or potentially risky actions in your mobile applications, keeping your business and customers secure against attacks round the clock. Get a Risk-Free Mobile App Testing Services Trial for Free.

    ReplyDelete