Sha256: f237a9e2c6545823f73779ca5ec9d78bdc9728b6a323961b3ef6d2249b7e1fa5

Contents?: true

Size: 963 Bytes

Versions: 1

Compression:

Stored size: 963 Bytes

Contents

require 'appium_lib'
require 'selenium-webdriver'
require 'rubygems'
require 'yaml'
require 'cucumber'
require 'Ifd_Mobile'
$current_dir = File.expand_path(File.dirname(__FILE__))
$base_dir = File.expand_path(File.dirname(__FILE__) + '/../..')

# $_CONFIG = Hash.new
# PROJECT_CONFIG = YAML.load_file("#{$current_dir}/project_config.yml")
# $_CONFIG['Print Log'] = ENV['browserName'] || true
$print_log = true
# $_CONFIG['Wait Time'] = PROJECT_CONFIG["wait_time"]
$OBJECT = YAML.load_file("#{$base_dir}/features/step_definitions/repositories/project_object.yml")
$test_data_dir = $base_dir + '/features/TestData/'
$globalData = YAML.load_file("#{$test_data_dir}/globalData.yml")

# class AppiumWorld
# end

# Appium::Driver.new({caps: PROJECT_CONFIG['capabilities'], appium_lib: {server_url: PROJECT_CONFIG["server_url"]}}).start_driver
#

# Appium.promote_appium_methods AppiumWorld
#
# World do
#   AppiumWorld.new
# end

# def selenium
#   return $driver
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Ifd_Mobile-1.5.0 project/features/support/env.rb