Tips for finding and controlling the role when using codedui

Source: Internet
Author: User
Document directory
  • FAQs

When codedui is used for automatic scaling, I don't like the token generated by using tools (related information can be taken manually to test the coded UI test (Visual Studio 2010's new UI auto-scaling )), for a long time, there have been some experiences, such as some tips for controlling memory.

 

Tools

I also used the codeduitestbuilder.exe created in Visual Studio 2010.pdf. Under the general condition, codeduitestbuilder.exe must be used with the uimap of the zookeeper case. uitest is a bit difficult to use, but it also provides the method of setting up a row.

When 1 codeduitestbuilder.exe

 

Under cmd

"C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ common7 \ ide \ codeduitestbuilder.exe"/Standalone

More than one metric data/StandaloneYou can simply upload images or add them to Visual Studio's external tools to facilitate daily calls.

External 2 external tools external window

 

Seek and control worker

Codeduitestbuilder's uimap function can be used in two ways.

  1. PressWindows key + uAutomatically selects the control role of the game tag, which is used when it is not convenient to drag the mouse.
  2. Drag the icon in the hidden color box to the top of the control panel.

Icon used for drag

Select the primary plane to control the primary plane.

 

After selecting the role to control the role, the explicit window for controlling the role appears. There are various parameter values and parameter values for controlling the role, it can be used to search for the specified codedui.

Chapter 5: Explanation of the control role

 

For example, if name = Q, the code can be used like this.

// The False setting has ie enabled and the website is on www.google.com. browserwindow window = browserwindow. locate ("google"); htmledit input = new htmledit (window); input. searchproperties [htmledit. propertynames. name] = "Q"; input. TEXT = "too many characters ";

Limit 6 controls the limit value of the limit window, which can be used to search for a condition.

 

FAQs

If you have encountered problems before, all the conditions are correct, that is, you cannot find the control token. Later, you may find that the problem may be a problem, you can find the control worker with one slave and one slave.

Both the control worker and control worker can forward the parent worker window, and then only the sub-control worker can be searched.

Note:

If zookeeper crashes once, you can call the generator to see how the codui can find the control token.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.