java.webdriver icon indicating copy to clipboard operation
java.webdriver copied to clipboard

datepicker automation

Open zhuchuji opened this issue 9 years ago • 2 comments

Hi, I see that you have example of datepicker on the readme.md, but I can not find them on your source code. So which test cases or source files are about datepicker?

zhuchuji avatar Nov 24 '16 07:11 zhuchuji

import java.text.DateFormat; import java.text.SimpleDateFormat;

public class Date {

                            class GetDate {
                                           {

                                                             DateFormat dateFormat = new SimpleDateFormat("MM/DD/YYYY");
                                                             Date date = new Date();
                                                             String date1 = dateFormat.format(date);
                                                             System.out.println(date1);
                                            }

                            }
            }

Albert Solberg QA Automation Engineer

[Description: Integra Logo]http://www.integra-online.com/ Integra Software Systems, LLChttp://www.integra-online.com/ 117 Seaboard Lane, Suite F-290 Franklin, TN 37067 Office: 615-595-0900 ext. 818 Fax: 615-628-0100

From: zhuchuji [mailto:[email protected]] Sent: Thursday, November 24, 2016 1:24 AM To: sayems/java.webdriver [email protected] Subject: [sayems/java.webdriver] datepicker automation (#9)

Hi, I see that you have example of datepicker on the readme.md, but I can not find them on your source code. So which test cases or source files are about datepicker?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/sayems/java.webdriver/issues/9, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIVUbn5ax36vV9DdYufXDSxBcwJ_sj2aks5rBTuEgaJpZM4K7WPx.

asolberg884 avatar Nov 28 '16 13:11 asolberg884

I suppose it's a solution to select a date with a pop-up calender in the datepicker field... After reading the source code carefully, I found that it simply generate a date and formate it. My situation is to select a specific date with the pop-up calender for the form, and the most difficult thing is that I can not just send text to the the field. Anyway, thank you for your answer all the same.

zhuchuji avatar Nov 30 '16 05:11 zhuchuji