Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Siebel QTP Automation] Unable to automate SiebCalendar object
#1
Not Solved
Hi,

I am facing an issue while automating a SiebCalendar object :
   

This is the code I use :

Code:
my_year = Year(Now)
my_month = Month(Now)
my_day = Day(Now)
my_min = Minute(Now) + 1
my_hr = Hour(Now)
my_time = my_hr & my_min & Second(Now)

SiebViewRep.SiebCalendar("repositoryname:=Planned Start").OpenPopup
SiebViewRep.SiebCalendar("repositoryname:=Planned Start").SetYear my_year
SiebViewRep.SiebCalendar("repositoryname:=Planned Start").SetMonth my_month
SiebViewRep.SiebCalendar("repositoryname:=Planned Start").SetDay my_day
SiebViewRep.SiebCalendar("repositoryname:=Planned Start").SetTime my_time                                                                              
SiebViewRep.SiebCalendar("repositoryname:=Planned Start").ClosePopup


But I am unable to set the time part on the calendar.
Any help on this is much appreciated.

Thanks,
Vishnu
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to Close UFT 14.53 through AOM Object y.srihari 1 2,369 12-26-2019, 08:43 PM
Last Post: y.srihari
  Can we automate installation testing using QTP uma.kasarla@gmail.com 0 903 06-21-2019, 09:45 PM
Last Post: uma.kasarla@gmail.com
  Unable to identify Child Object for a window application created using C#. ssanjeev 3 6,224 03-27-2017, 05:38 AM
Last Post: ankita
  Is there anyway that we can automate adding objects to Object Repository ArunaSiva 0 1,800 06-18-2014, 04:16 PM
Last Post: ArunaSiva
  Can QTP automate VC++ application? arpan 0 2,232 03-18-2014, 08:56 PM
Last Post: arpan

Forum Jump:


Users browsing this thread: 1 Guest(s)