Try with below code Browser ().page ().frame ().weblist ().select "Blue"
Tnx, Bhuvan On Jan 14, 2014 9:03 PM, "aneel pal" <[email protected]> wrote: > > > Spy.png<https://docs.google.com/file/d/0Bzl7KjFnQcZNX2JmWDhScTVNNU0/edit?usp=drive_web> > Hi Prakash, > > Items are not coming as "WebElement" , For reference I am attaching Screen > Shot (Spy) , > > Please Suggest me any other way . > > Thanks And Regards > Aneel > > > On Sun, Jan 12, 2014 at 3:24 PM, Prakash Maurya > <[email protected]>wrote: > >> Hi Aneel, >> >> Try to spy the values displayed in the drop down list..like "Green", >> "Blue", i guess they will be coming as 'WebElement' instead of WebList. In >> this case you have to add these objects/colors in your object repository >> and then 1st click on web-list and than click on the color/WebElement you >> want to select. >> >> Thanks & Regards, >> Prakash Maurya >> >> >> >> On Saturday, 11 January 2014 18:16:16 UTC+5:30, Aneel wrote: >>> >>> Hi All Experts, >>> >>> >>> I am facing one problem while working on web based MS CRM 2013 >>> Application. >>> >>> I am able to select the option in weblist but after selection that >>> option is not listed as selected option in weblist. >>> Below code selects the option >>> Browser("").Page("").Frame("").WebList("Lst_ColorCode").Select "Green" >>> >>> And after that it is not display as selected option in weblist. >>> >>> I tried with sendkey {ENTER} also but not getting any success >>> >>> I am using QTP 9.5 , refer the attached screen shot. >>> >>> Please help >>> >>> >>> Thanks and Regards, >>> Aneel >>> >> -- >> -- >> 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/groups/opt_out. >> > > -- > -- > 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/groups/opt_out. > -- -- 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/groups/opt_out.
