dear,
as per my suggestion you can make an arraylist and add items in it
Set MyList = DotnetFactory.CreateInstance("System.Collections.ArrayList")
MyList.Add("Index")
MyList.Add("Draft")
MyList.Add("Sent mail")
MyList.Add("personal mail")
if you want to select any one of them you can
browser("").page("").weblist("").select(MyList(0))
Thanks
Akhalesh
On Thu, Sep 6, 2012 at 6:06 PM, arpit bansal <
[email protected]> wrote:
> ITS URGENT.........!!!!!!
>
>
> On Thursday, September 6, 2012 3:49:41 PM UTC+5:30, arpit bansal wrote:
>>
>> hi
>> my mentor assign me the task to create the combo box and listing the
>> emails link like inbox, sent items , drafts etc. It is easy to login into
>> the mail by just using qtp but i am not able to create the drop down combo
>> box and add the items in it. Also unable to guess how to store the selected
>> values.
>> Please help me just by giving the simple example to create the drop down
>> combo box and items it in. Also to store the selected item in variable for
>> future processing
>>
> --
> 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
>
--
Akhalesh yadav
+919555717928
+919310680659
--
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