Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
select a date from pop-up calendar
#1
Not Solved
Hi everyone. I need some help. Im trying to write a function for selecting the date on a pop-up calendar. The textbox is unwritable. You need to select the date from the calendar. So if I give a dat (24-06-2014 ) in the function it should automatically select the date on the calendar.
Attached is a screenshot of the calendar.


Here are the steps recorded with object spy.


Code:
Browser("BUP Portal").Page("Agreement Create_2").Image("icon_calendar").Click
Browser("BUP Portal").Page("Agreement Create_2").WebList("cpMonth").Click
Browser("BUP Portal").Page("Agreement Create_2").WebList("cpMonth").Select "July"
Browser("BUP Portal").Page("Agreement Create_2").WebList("cpYear").Click
Browser("BUP Portal").Page("Agreement Create_2").WebList("cpYear").Select "2015"
Browser("BUP Portal").Page("Agreement Create_2").Link("16").Click

Thanks for your help.

Greet.


Attached Files Image(s)
   
Reply
#2
Not Solved
What is the issue you are facing?
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recognizing date calendar kQTPs 1 3,608 12-20-2017, 11:21 PM
Last Post: harikrishna
  SAP GUI gets hanged while closing the Windows Pop Up kathirvelnagaraj 0 5,527 10-23-2015, 06:47 PM
Last Post: kathirvelnagaraj
Rolleyes QTP pop up window handling piyush8793 3 16,880 10-15-2015, 11:03 PM
Last Post: Venkateswarluponna
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 11,331 07-09-2014, 10:43 PM
Last Post: hhamilton
  QTP not clicking on Yes button in the IE pop up dialog adityasrinivasb 2 9,619 09-29-2013, 11:01 PM
Last Post: prashantrawat101@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)