page-object-lds 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmNjY2ZmOWJhYTUzYzNmNmRhZDI4ZmQ4NjM3NTMzYWQwNTk4NjU5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDRiZTQ0YmQxZmQzMjEwYTE1YjNhOGM2NGZkNWEyOWJiNWQyZGUwOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTlkNmE4ZjBjNzQyOTg3ZDE5MGU5ZTA4MDk1MmFhYzA2YjVjNzBiMTMyOGFl
|
10
|
+
ZjRhNjFkMTFlMzk5MTM1MGY1OGZkNTAzZGI2ZTI5NGVlM2FlOTgzMDRjYTdj
|
11
|
+
Nzk1MjUxYzk2NWYxYzAzMjZkOGZiMjJjNDFmOTY2M2MwYzNhNWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTVhNGVhZDQ1Y2I5MWQ1ZWY3YTgwMmNkOTk4Y2QyNTExZDkwZmU4YzQ0YjNh
|
14
|
+
MjBhODdjYzZkNTNkZWY2MjIzN2YwNDY1NDIyZGM0ZDM4YzQ1NmI5MGI2MDYw
|
15
|
+
MDFmMzYyOTBmYTQ1Y2YzOTE0YzViYThkZTg2OWYyYjg1MjljZjI=
|
@@ -235,6 +235,47 @@ module PageObject
|
|
235
235
|
process_watir_call("hidden(identifier).value", Elements::HiddenField, identifier)
|
236
236
|
end
|
237
237
|
|
238
|
+
## start of mehdi's added code
|
239
|
+
|
240
|
+
#
|
241
|
+
# platform method to get the value stored in a text field
|
242
|
+
# See PageObject::Accessors#text_field
|
243
|
+
#
|
244
|
+
def lds_text_field_value_for(identifier,idBloc=nil,idScreen=nil)
|
245
|
+
# process_watir_call("text_field(identifier).value", Elements::TextField, identifier)
|
246
|
+
LdsTextField.new(@browser,identifier,idBloc,idScreen).getValue
|
247
|
+
|
248
|
+
end
|
249
|
+
|
250
|
+
#
|
251
|
+
# platform method to set the value for a text field
|
252
|
+
# See PageObject::Accessors#text_field
|
253
|
+
#
|
254
|
+
def lds_text_field_value_set(identifier, value,idBloc=nil,idScreen=nil)
|
255
|
+
#process_watir_call("text_field(identifier).set(value)", Elements::TextField, identifier, value)
|
256
|
+
LdsTextField.new(@browser,identifier,idBloc,idScreen).fill value
|
257
|
+
end
|
258
|
+
|
259
|
+
#
|
260
|
+
# platform method to retrieve a text field element
|
261
|
+
# See PageObject::Accessors#text_field
|
262
|
+
#
|
263
|
+
def lds_generic_text_field_for(identifier,idBloc=nil,idScreen=nil)
|
264
|
+
#find_watir_element("text_field(identifier)", Elements::TextField, identifier)
|
265
|
+
LdsTextField.new(@browser,identifier,idBloc,idScreen).getElement
|
266
|
+
end
|
267
|
+
|
268
|
+
#
|
269
|
+
# platform method to retrieve a text field element
|
270
|
+
# See PageObject::Accessors#text_field
|
271
|
+
#
|
272
|
+
def lds__ldstextfield_for(identifier,idBloc=nil,idScreen=nil)
|
273
|
+
#find_watir_element("text_field(identifier)", Elements::TextField, identifier)
|
274
|
+
LdsTextField.new(@browser,identifier,idBloc,idScreen)
|
275
|
+
end
|
276
|
+
|
277
|
+
## end of mehdi's added code
|
278
|
+
|
238
279
|
#
|
239
280
|
# platform method to retrieve a hidden field element
|
240
281
|
# See PageObject::Accessors#hidden_field
|
data/lib/page-object/version.rb
CHANGED