Browse Prior Art Database

A Method and System for Automatically Generating Automation Code for an Application Written Using Native Programming Language

IP.com Disclosure Number: IPCOM000237534D
Publication Date: 2014-Jun-20
Document File: 2 page(s) / 35K

Publishing Venue

The IP.com Prior Art Database

Related People

Venkatraman Sridharan: INVENTOR [+2]

Abstract

A method and system is disclosed for automatically creating automation code for an application written using native programming language by parsing input files of the application.

This text was extracted from a Microsoft Word document.
This is the abbreviated version, containing approximately 53% of the total text.

A Method and System for Automatically Generating Automation Code for an Application Written Using Native Programming Language

Abstract

A method and system is disclosed for automatically creating automation code for an application written using native programming language by parsing input files of the application. 

Description

Currently users have to build applications by writing them in native programming languages such as, but not limited to, objective-c, c and, c+.  Automation code is thereafter built on top of the application written in native programming language.  Manually building the automation code, adds to development time, as specific code needs to be written for each view in the application.

Consider a scenario wherein an application is being developed for a mobile phone.  Further, consider that the application is written using objective c++ as the native programming language.  Additionally, consider that a language to be used in generating the automation code is JavaScript*.  The application stores the code written in native programming language in two input files "SwipeTableView.h", and "SwipeTableView.m" respectively.  The classes in the input files contain a view ‘tableView’ for showing a list of items in the application.  A possible list of actions permissible in the application can include one or more of, a tap on the tableView, a swipe on a tableView cell, a hold on a tableView cell, and a move on a tableView cell. 

In order to generate the automation code, a developer needs to manually create JavaScript code from a file such as, "SwipeTableViewTest.js".  Further, the developer needs to write methods such as, but not limited to, var testTapTableView (var target, int position), var testSwipeTableView(var target, int position), var testHoldTableView(var target, int position), and var testMoveTableView(var target, int position1, int position2,  for performing the actions permissible in the application.

The developer als...