Micro Focus QTP (UFT) Forums
Hoe to select Date Picker? - 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: Hoe to select Date Picker? (/Thread-Hoe-to-select-Date-Picker)

Pages: 1 2


RE: Hoe to select Date Picker? - souvikghosh_diatm - 07-14-2011

ur attached screen shot is not showing boss.....can u see wat u have attached?????...cant help u widout seeing it.......may be ur screen shot is too large which does not permittble to attach....check it out....


RE: Hoe to select Date Picker? - Unleash Rajesh - 07-21-2011

hi...

COde generated by QTP during record,

Code:
Browser("Money In from your Customers").Page("Money In from your Customers").Image("Calendar").Click
Browser("Money In from your Customers").Page("Money In from your Customers").Link("18").Click

Attached the copy...added with OR..


RE: Hoe to select Date Picker? - rajpes - 07-21-2011

Code:
Browser("title:= x").Page("title:= x").Image("micclass:=Image","file name:=calender.gif","alt:=Calendar").Click

'find the unique properties of that link
Browser("title:= x").Page("title:= x").Link("micclass:=Link","innerhtml:=innerhtml_value").click



RE: Hoe to select Date Picker? - Unleash Rajesh - 07-21-2011

Thanks...

But throws an error stating

"Cannot identify the object "[ Image ]" (of class Image). Verify that this object's properties match an object currently displayed in your application"


RE: Hoe to select Date Picker? - rajpes - 07-21-2011

Cannot identify the object "[ Image ]" ?
File name property is an issue?


RE: Hoe to select Date Picker? - Unleash Rajesh - 07-25-2011

Its a gif image..With the file name calender.gif ..Does QTP supports for GIF files...?




RE: Hoe to select Date Picker? - rajpes - 07-25-2011

no, gif is not an issue.
try adding some more properties of image(like "name")



RE: Hoe to select Date Picker? - Unleash Rajesh - 07-30-2011

Hi..i tried it but its not supporting..