you can try something like...

Browser("title:=,*).Page("title:=.*).webelement("name:=Date").Type("whateverdateformat")



With Regards ,
Satish Kadali,
9550393539

*Note: Please excuse any typos

On Thu, May 28, 2015 at 4:51 PM, Meghraj Singh <[email protected]
> wrote:

> First you need to get the objects in the repository and those particular
> dates are actually links which you can better see after adding to
> repository.
>
> You can use the switch case to determine which particular date to set,
> Below is some lines from my code
>
> Select Case today_date
>     Case "1" Browser("DateTime Picker").Page("DateTime Picker_2").Link("1"
> ).Click
>     Case "2" Browser("DateTime Picker").Page("DateTime Picker_2").Link("2"
> ).Click
>     Case "3" Browser("DateTime Picker").Page("DateTime Picker_2").Link("3"
> ).Click
>     Case "4" Browser("DateTime Picker").Page("DateTime Picker_2").Link("4"
> ).Click
>     Case "5" Browser("DateTime Picker").Page("DateTime Picker_2").Link("5"
> ).Click
>     Case "6" Browser("DateTime Picker").Page("DateTime Picker_2").Link("6"
> ).Click
>
>
> On Tuesday, May 19, 2015 at 10:01:59 PM UTC+5:30, [email protected]
> wrote:
>
>> Hi Group,
>>
>> Can anyone explain step by step procedure how to select dynamically a
>> desired date from a Date Picker of Makemytrip.com or expedia applicaton
>>
>> explain the code..It can help me a lot and others also.
>>
>>
>>
>>
>>
>> .
>>
>>
>>  --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to