sure i am going to try and let you know Thanks team for your help
On Tue, Apr 24, 2012 at 4:37 AM, Deepak Kumar Mahapatro < [email protected]> wrote: > Hi Mitul, > > try below code > to get the values > With Browser("name:=Amazon.com - Your Account").Page("title:=Amazon.com - > Your Account").WebList("name:=url","html id:=searchDropdownBox") > If .Exist(4) Then > arrItems=Split(.getRoProperty("all items"), ";") > MsgBox UBound(arrItems) > a =.getRoProperty("items count") > msgbox a > 'getting list box values > For i=1 to a > msgbox .GetItem(i) > wait 2 > Next > End If > End With > > > > > to select the values. > With Browser("name:=Amazon.com - Your Account").Page("title:=Amazon.com - > Your Account").WebList("name:=url","html id:=searchDropdownBox") > If .Exist(4) Then > a =.getRoProperty("items count") > 'getting list box values > For i=0 to a-1 > .Select "#"&i > Next > End If > End With > > > On Tue, Apr 24, 2012 at 1:44 AM, Mitul Jani <[email protected]> wrote: > >> Hi team, >> >> how can i run my for loop for select any value from dropdown value f >> Amazon All department Web list >> here is my code can you help how do i apply for automation login for this >> Weblist object >> can anyone help me for my job >> >> >> If Browser("name:=Amazon.com - Your Account").Page("title:=Amazon.com - >> Your Account").WebList("name:=url","html id:=searchDropdownBox").Exist(4) >> Then >> a =Browser("name:=Amazon.com - Your Account").Page("title:=Amazon.com - >> Your Account").WebList("html id:=searchDropdownBox").getRoProperty("items >> count") >> 'msgbox a >> 'getting list box values >> For i=0 to a-1 >> * msgbox Browser("name:=Amazon.com - Your >> Account").Page("title:=Amazon.com - Your >> Account").WebList("name:=url","html id:=searchDropdownBox").GetItem(i) >> *Next >> End If >> >> On Mon, Apr 23, 2012 at 8:54 AM, CHANDANA vodlakonda < >> [email protected]> wrote: >> >>> Hi Madhavi, >>> >>> Check whether addins loaded properly or not and using object spy the >>> objects. >>> >>> >>> On Sun, Apr 22, 2012 at 11:23 PM, Madhavi Puli >>> <[email protected]>wrote: >>> >>>> hi >>>> >>>> this is madhavi am learning qtp i have one problem.while testing >>>> naukri page useing internet explorer.while adding the all objects using >>>> OR.but qtp anable recognize that object it identifies only internet >>>> explorerserver what is the problem can any body tellme. >>>> >>>> -- >>>> 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 >>> "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 >> "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 >> > > > > -- > Regards, > Deepak > > -- > 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 "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
