×

Method and system for multi-mode testing through operation interface and scenario abstraction in a multi-tenant database environment

  • US 9,529,698 B2
  • Filed: 03/03/2011
  • Issued: 12/27/2016
  • Est. Priority Date: 07/13/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of testing an application in an on-demand database system, the method comprising:

  • defining a test framework for the application, wherein the application is accessible through a plurality of interfaces, the test framework comprising;

    a set of test operations, each test operation corresponding to at least one operational function of the application performed upon a database of the on-demand database system and each test operation corresponding to one of the plurality of interfaces, the plurality of interfaces including at least a local interface, a web-based user interface and an application programming interface, the set of test operations including a test operation to synchronize records within the on-demand database system;

    a set of test scenarios including a test scenario to test record synchronization on at least two of the plurality of interfaces, the at least two of the plurality of interfaces including an application programming interface, the test scenarios being defined in a separate class from the test operations, the test scenario to test record synchronization including;

    i) at least one generic test step corresponding to at least one standard action being performed independent of the interfaces to be tested; and

    ii) at least one test command configured to invoke the test operations to synchronize records corresponding to the interfaces to be tested, the test operations being received by the test scenario as arguments, the test command causing the operational function of the application corresponding to the received test operation to be executed through the corresponding interface; and

    executing one or more of the test scenarios to implement a test on the interfaces to be tested for the application, wherein the executing is performed based on the at least one generic test step and the received test operations.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×