u need to use some DP for this...
Capture the webtable and get the buttons and present dates displayed and
based on that we need to select the date requried..
Use select cases ..ie get the requried date to select and present date from
application and then based on their difference..u need to click that many
times on the respective years, months buttons in that calendar..

Try it out...in this way..i'm sure ..u will get that logic..


On 7/10/09, Chinnu <[email protected]> wrote:
>
>
> Hi Friends,
>
> I am new to this group and felt it quite intresting. I need help from
> you all.
>
> I have question related to calendar.
>
> I have image(Look Up box), after clicking it a calendar is displayed.
> It has combo/list box where the year can be increased or decreased.
> After that, on top of it, it has a right and left arrow with month
> mentioned inbetween and dates being displayed below.
>
> I have used code as follow.
>
> Browser("Browser Name").Page("Pagename).Image("Image Name").click
> once this is executed, the calendar is displayed.after this
> Browser("Browser Name").Page("Pagename).Webbutton("Button Name").click
> (> or < arrow to be clicked)
> Browser("Browser Name").Page("Pagename).WebList("Name).Select "2009"
> Browser("Browser Name").Page("Pagename).Link("Date Link").click
>
> Once this is executed, it not selecting the date. If selected also,
> the date is not considered and its showing the application error..
>
> Please help me out ASAP. I have client demo.
>
> Thanks in Advance,
>
> Anil
>
> >
>


-- 
Mallipeddi Sreedhar
91-9000994721

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to