Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to set the Start date for SwfCalendar control-using SetDate or Type method
#1
Not Solved
Hi,

I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.

Code:
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").SetDate "2-Apr-2009"
or
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").Type "4/2/2009"
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set method not working for web number object Qtp_bunny 1 2,311 06-14-2018, 05:00 PM
Last Post: Ankur
  Using UFT 14.0 on Win 10, unable to find 'Register New Browser Control' utility soujanya 2 3,217 04-23-2018, 07:24 PM
Last Post: soujanya
  .SET method not working in WEBEDIT Achuth 3 8,479 11-23-2016, 03:34 PM
Last Post: XAnna
  Date function mahbub798 1 2,261 03-27-2014, 07:27 PM
Last Post: Ankur
  Does QTP/UFT support "Microsoft.Windows.Control" (one type of wpf control)? abhishikth12221 2 4,056 01-22-2014, 06:24 PM
Last Post: abhishikth12221

Forum Jump:


Users browsing this thread: 1 Guest(s)