testcentricity_web 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf088aa9322606d81ac794bcbea4d0add3c8e240
4
- data.tar.gz: b15d632286aad7fe7b96963ec9270b82f4fcbca3
3
+ metadata.gz: a0eba76180d539e2d04d50ac99a1ae070f1ae339
4
+ data.tar.gz: ca8190dabaa590c78e480eed846f36274dc50694
5
5
  SHA512:
6
- metadata.gz: 37eeb21e6780778e32782f45dddb4742a18a461ac4d7a6c741088981534f6bff04ba4e0b7dc72d9054acad610f2bb49484148537310ac1e3f297f6d16dff2850
7
- data.tar.gz: def87f53539c983c3a9a168e8cd3548025f3634f3ae1225a22de44650f0d992b1883cb95b71c27f47b2a7a4d1b66824e98041166f7f1d5fcbf37e092b1d49be8
6
+ metadata.gz: 0d81505a46e4404075b0641d42b4988ac13e49adc513f70c03d533859c66ba6e116bf9896aa9ea6e478da1d3aeab3347e537d1152b785c39d989cb68435c6dfb
7
+ data.tar.gz: f1cf197fd3e731b08ec3edd97481002d667443137b40502aa0d8d2d020e44d5b66fc304f1cc56f7ace0061243bb7ad8d45ddcf76c93544493f9596df062047d3
@@ -13,6 +13,10 @@ module TestCentricity
13
13
  @locator = "#{@table.get_table_cell_locator('ROW_SPEC', column)}/#{locator}"
14
14
  end
15
15
 
16
+ def set_column(column)
17
+ @column = column
18
+ end
19
+
16
20
  def exists?(row)
17
21
  obj, = find_cell_element(row)
18
22
  obj != nil
@@ -469,6 +469,10 @@ module TestCentricity
469
469
  actual = ui_object.get_table_column(value.to_i)
470
470
  when :item
471
471
  actual = ui_object.get_list_item(value.to_i)
472
+ when :attribute
473
+ actual = ui_object.get_attribute(value)
474
+ when :native_attribute
475
+ actual = ui_object.get_native_attribute(value)
472
476
  end
473
477
  end
474
478
  else
@@ -540,6 +540,10 @@ module TestCentricity
540
540
  actual = ui_object.get_table_column(value.to_i)
541
541
  when :item
542
542
  actual = ui_object.get_list_item(value.to_i)
543
+ when :attribute
544
+ actual = ui_object.get_attribute(value)
545
+ when :native_attribute
546
+ actual = ui_object.get_native_attribute(value)
543
547
  end
544
548
  end
545
549
  else
@@ -333,13 +333,13 @@ module TestCentricity
333
333
  end
334
334
 
335
335
  def get_attribute(attrib)
336
- obj, = find_element
336
+ obj, = find_element(false)
337
337
  object_not_found_exception(obj, nil)
338
338
  obj[attrib]
339
339
  end
340
340
 
341
341
  def get_native_attribute(attrib)
342
- obj, = find_element
342
+ obj, = find_element(false)
343
343
  object_not_found_exception(obj, nil)
344
344
  obj.native.attribute(attrib)
345
345
  end
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.0.6'
2
+ VERSION = '2.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-04 00:00:00.000000000 Z
11
+ date: 2017-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler