--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+unsubscribe@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/57599dc2-2d1c-47d0-9b38-36be7768faa5%40googlegroups.com.
There are basically two options:- you can interact with the field in the exact same way as a user would, that is by clicking and then interacting with the calendar- if your application under test includes jQuery then, as suggested by Tu, you can work around the fact that the field is not editable by using jQuery to manipulate its value; I would suggest using Geb's jQuery integration (http://www.gebish.org/manual/current/#jquery-integration)Whichever route you use I'd suggest using a module class to abstract out implementation details of how changing of the value it is implemented.
On Wed, Dec 7, 2016 at 1:16 PM, 'tu Mimi' via Geb User Mailing List <geb-...@googlegroups.com> wrote:
Hi there,
Geb is using JQuery to access the html components. You need to know the id, class... of the field/ popup/ date component.
Regards
Tu
Am Mittwoch, 7. Dezember 2016 12:27:24 UTC+1 schrieb Janani Sampath Kumar:Hi Team,I'm a newbie to Geb and looking for some options to automate the Date Range Field in a web page.1. Field is non-editable2. On clicking, a calendar instance will pop-up where we need to select the start date and end dateAny help/guidance on the above is really appreciated !Thanks in advance !
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+unsubscribe@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/f92cf72b-e0a7-41f3-bbb2-a01fad351e10%40googlegroups.com.