Skip to main content

system.kanoa.utilities.storePageObject

This function requires KanoaCore module

Description

Stores the passed-in object as a session object specific to the current page (kanoaCore).

Syntax

storePageObject(self, objName, dictObject)
  • Parameters
      self (Page Object) - The page object.
      objName (String) - Name of the object (e.g., 'dateRange').
      dictObject (Dictionary) - Values to be stored (e.g., {'startDate': startDate, 'endDate': endDate, 'selectedRange': selectedRange}).
  • Returns
      None
  • Code Example

    # Example Usage:
    system.kanoa.utilities.storePageObject(page_object, 'dateRange', {'startDate': startDate, 'endDate': endDate, 'selectedRange': selectedRange})