Micro Focus QTP (UFT) Forums
Date Picker Issue - Unable to select date link dynamically - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Date Picker Issue - Unable to select date link dynamically (/Thread-Date-Picker-Issue-Unable-to-select-date-link-dynamically)



Date Picker Issue - Unable to select date link dynamically - rajkumarsm - 09-18-2014

Hi Everyone,
I would like to select a date "11 Jan 2015" from the attached Date Picker.
I have written a Script which mentioned below. It executed successfully. Warning message is displayed in Result due to the Smart Identification. So I have Disabled the Smart Identification.

Now the same script is not working.

Kindly help me to over come this issue. If any further infromation required from my side, please let me know.

Code:
Browser("Browser").Page("Page").Frame("DatePicker").highlight
Browser("Browser").Page("Page").Frame("DatePicker").WebList("Month").Select "Jan"
Browser("Browser").Page("Page").Frame("DatePicker").WebList("Year").Select "2015"
Set A = Browser("Browser").Page("Page").Frame("DatePicker").Link("1")
A.SetTOProperty "text",11
A.Click



RE: Date Picker Issue - Unable to select date link dynamically - rajkumarsm - 09-20-2014

This issue was fixed.
Just missed double quotes ("") for the Property Value 1.