Class: Google::Apis::TestingV1::IosRoboTest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb

Overview

A test that explores an iOS application on an iOS device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IosRoboTest

Returns a new instance of IosRoboTest.



1559
1560
1561
# File 'lib/google/apis/testing_v1/classes.rb', line 1559

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_bundle_idString

The bundle ID for the app-under-test. This is determined by examining the application's "Info.plist" file. Corresponds to the JSON property appBundleId

Returns:

  • (String)


1547
1548
1549
# File 'lib/google/apis/testing_v1/classes.rb', line 1547

def app_bundle_id
  @app_bundle_id
end

#app_ipaGoogle::Apis::TestingV1::FileReference

A reference to a file, used for user inputs. Corresponds to the JSON property appIpa



1552
1553
1554
# File 'lib/google/apis/testing_v1/classes.rb', line 1552

def app_ipa
  @app_ipa
end

#robo_scriptGoogle::Apis::TestingV1::FileReference

A reference to a file, used for user inputs. Corresponds to the JSON property roboScript



1557
1558
1559
# File 'lib/google/apis/testing_v1/classes.rb', line 1557

def robo_script
  @robo_script
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1564
1565
1566
1567
1568
# File 'lib/google/apis/testing_v1/classes.rb', line 1564

def update!(**args)
  @app_bundle_id = args[:app_bundle_id] if args.key?(:app_bundle_id)
  @app_ipa = args[:app_ipa] if args.key?(:app_ipa)
  @robo_script = args[:robo_script] if args.key?(:robo_script)
end