Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7847107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:47:21+00:00 2026-06-02T17:47:21+00:00

I have a web aplication with a combobox and a table of elements. I

  • 0

I have a web aplication with a combobox and a table of elements. I need to write a method using codedUI that selects an element of the combobox or from the table, passing as parameter the “name” of the element is it possible?

If more information is needed, please ask me

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:47:23+00:00Added an answer on June 2, 2026 at 5:47 pm

    You can record the action you want to test and then customize the auto-generated code inside the UIMap.Designer.cs file to select the control you need. For each control you use when you record your test the CodedUi Test Builder creates a new class inside this file. If your controls are similar (eg. control1, control2…) assign the parameter name to the Search Properties of this control:

    public class UIItemWindow : WinWindow
    {
    
        public UIItemWindow()
        {
            #region Search Criteria
            //Here assign the paramter to the search properties of the control
            this.SearchProperties[WinWindow.PropertyNames.Name] = parameterName;
            #endregion
        }
    
        #region Properties
        public UIItemWindow1 UIItemWindow1
        {
            get
            {
                if ((this.mUIItemWindow1 == null))
                {
                    this.mUIItemWindow1 = new UIItemWindow1(this);
                }
                return this.mUIItemWindow1;
            }
        }
        #endregion
    
        #region Fields
        private UIItemWindow1 mUIItemWindow1;
        #endregion
    }
    

    To see how you can pass parameters to the CodedUI test check these links:

    • How to: Create a Data-Driven Coded UI Test
    • How to read parameter values from a TestCase in Microsoft Test Manager
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to write web aplication like google reader (using SmartGWT). Instead of RSS
I have web application - use Spring + Tomcat. I need debug method that
I have web application in that i am using tabbed interface control in this
I have an ASP.NET web aplication using vs2008. It used to let me hit
We have created RESTful web services using Spring's REST support. We need to call
I have a web application that I'm working on (ASP.NET 2.0 with C#, using
I have web application with WCF service. That service contains method that implements message
I have web application that are using multiple clients. I should create one copy
I have web application written in java using Eclipse. It has just one servlet
I have web application of which major part is javascript. I request images from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.