List Item is not selecting from Drop Down list

2 posts, 0 answers
  1. Chandrakant
    Chandrakant avatar
    2 posts
    Member since:
    Jun 2012

    Posted 02 Aug 2012 Link to this post

    Hi,
    I have written code for selecting List Item.But it is not selecting the Items from DropDown.

    I used following code

    AFTSCL.myManager.ActiveBrowser.Find.ByExpression<HtmlListItem>("TagIndex=li:67").Click();

    How can select Items from DropDown List.

    Thanks,
    Chandrakant.
  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 07 Aug 2012 Link to this post

    Hello Chandrakant,

    There is no need to use coded step for this action, you can easily achieve this using Test Studio UI. Please record the click step using Test Studio, make sure it is working and you have no issues with it. In case you need the coded solution you can simply convert the step into coded one and use the code generated.
    If you require further assistance we will need more information provided as well as access to the application you are testing.

    Regards,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top