Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calender control is having all values as link, unable to retrieve that from datatable
#9
Solved: 11 Years, 3 Months, 3 Weeks ago
Lets say you are storing date as 24 April 2010 on the datatable. On your script you can split this up as,
Code:
day = Split("24 Apr 2010")(0)
Month = Split("24 Apr 2010")(1)
Year = Split("24 Apr 2010")(2)

I am unsure which of your link clicks the day, but you can try the below,

Browser("Browser").Page("Event Details").Link("miclass:= link","value:="&day).Submit

For the year and the month the selection is going to involve some programming. Here is the logic you may want to try,

1. Using the GetRoproperty retrieve the current month and year.
2. Based on the input you would want to supply you will have to click the > links.
3. Confirm using the GetRoproperty that the desired month is set.
4. Then select the day.
5. Then simply click on OK.

So far, so good?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: Calender control is having all values as link, unable to retrieve that from datatable - by basanth27 - 04-01-2011, 08:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Click on calender on specific date. venkatesh9032 1 3,891 12-02-2015, 07:30 PM
Last Post: nistalaramesh
  Date Picker Issue - Unable to select date link dynamically rajkumarsm 1 5,164 09-20-2014, 09:31 AM
Last Post: rajkumarsm
  Unable to read numeric values from WebTable into Datatable Akhila 2 4,697 11-26-2013, 03:43 PM
Last Post: Akhila
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,406 11-14-2013, 07:51 PM
Last Post: spannerj
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 4,725 11-07-2013, 08:26 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)