locate the XPath, the description of the string is also slightly more complex, the verification function is relatively weak.For detailed documentation, refer to this: http://code.google.com/p/bromine/Third, the playback of the UI test tool, mainly by recording the user's operation behavior, through the replay to complete the test application of the functional testing, such tools for the UI functional testing is relatively weak.More commonly used are
/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdleiTo use it, simply execute livereload in the working directory and then click on the plugin icon in Chrome to start listening.WebpackNow, the front-end development, usually also involves the preprocessor, although the diversification of technology has brought us more choices, but the code generated by these technologies in the browser to achieve consistent performance, but also to convert it to browser-supported types.The Webpack is a mo
Now we learn through these 3 questions;1, what is gulp?2, why use gulp?3, how to use?What is Gulp answer: is a front-end automation of the building tools, straightforward point, without this tool, we can still use artificial to achieve the following advantages, but when the project is becoming large, the use of this tool can improve performance and efficiency. Why Use Gulp? A: 1, JS and CSS are static files
Robotium is based on this
2. Various commands based on the Android Lib layer, such as sendevent,getevent, Monkey, service, and then encapsulated in various languagesMonkeyrunner is still very promising, Google made its own. Now the latest dev version already has the Easymonkey to support the UI ID operation. the angle of the classification to answer1) Pure white box method test, Monkey. Upstairs already has the friend mentioned, uses the Moneky more is the development team, but is not the
Cloud computing is not just a fast self-service service for virtual infrastructure. Developers and administrators are looking for ways to supply and manage large-scale cloud computing. This Infoq article is one of a series of automated tools and ideas for dynamic computing resource pool maintenance. You can subscribe to a new article in this series to post a notice here.
The typical deployment of early clo
-id command to replicate the Ansible public key into the node.Fourth step: Define a list of nodes for AnsibleFile/etc/ansible/hosts maintains a list of servers in Ansible.[Email protected] ~]# vi/etc/ansible/hosts[Test-servers]192.168.1.9192.168.1.10Save and exit the file.Fifth step: Try running the command on the ansible serverUse ping to check the connectivity of the ' test-servers ' or ansible nodes.[Email protected] ~]# ansible-mping ' test-servers 'Execute shell command1 : Check the run tim
Grunt is a tool framework based on Npm,node.js with JS, which can automate some repetitive tasks (such as merging files, grammar checking, compressing code),Grunt has a large library of plug-ins to meet a variety of automated batch processing needs, commonly used plug-ins are:Concat---> Merge filesCsslint---> CSS grammar checkerCssmin---> CSS compressionJshint---> JS grammar checkerUglify---> JS compressionWatch---> Automation core, monitor file modif
three: Compress all JS files in JS folder according to the original file structureFiles: [{Expand:true,CWD: ' src ', under the//js directorySRC: ' **/*.js ',//all JS filesDest: ' dest '//output to this directory}]},Release: {//Task IV: Merging compressed a.js and B.jsFiles: {' Dest/ab.min.js ': [' dest/a.min.js ', ' src/b.min.js ']}}}});Load plug-ins that provide "uglify" tasksGrunt.loadnpmtasks (' grunt-contrib-uglify ');Default taskGrunt.registertask (' Default ', [' uglify ']); Default task
use it with other plugins. Beautiful ~After you have installed support dependencies, add the following in the config configuration:sass:{ dist:{ options:{ // Do you remember this? This is the style in the four style of sass compile time : ' Expanded ' } , files:{'./static/style/test.css ': '. Static/style/test.scss '}} }In files, it is defined as a form of dest:src.With Wa
1. Download node. js2. Installing NPM management Tools2.1, download NPM source code, unzip into the NPM folder2.2. Install NPM using the command node Cli.js INSTALL-GFor command.Node Cli.js install NPM-GF//The latest version of NPM can be installednode Cli.js install [email protected]-GF//Can install the specified version of NPM2.3. After the NPM installation is complete, add "D:\npm\node_modules" to the system environment variable Node_path.Front-end automa
On weekdays, many things can be completed using scripts. Learn the necessary scripts and write the scripts to replace the manual ones.Our goals are dry and automation.Required tools:ShellPerlLinux tools: SED, replace, find, xargs, and so on.For example, you can use the replace command to replace some content in the file:
# Replace audio image -- File
Or, process all the objects in the current directory as follows:
# Find.-Type F-exec replace audio
put it in the root directory, and then set the property to always copyThree. Preliminary examinationusingOpenqa.selenium;usingOpenQA.Selenium.PhantomJS;usingSystem;namespacephantomjsdemo{classProgram {Static voidMain (string[] args) { varURL ="https://www.baidu.com"; varDriver =NewPhantomjsdriver (); Driver. Navigate (). Gotourl (URL); Driver. Findelement (By.id ("kw")). SendKeys ("ASP"); Driver. Findelement (By.id ("su")). Click (); Console.WriteLine (Driver.
are performed by defaultGrunt.registertask (' Default ', [' jshint ']);};The configuration of the Ps:jshint plugin has two items:In options, you specify the configuration file for the Jshint syntax detection rule by using the "JSHINTRC" property, and the code in the. jshintrc file is also strictly compliant with the JSON syntax specification, otherwise it is not valid."Build" specifies which JS files are required for syntax detection.4. Finally run the grunt command at the terminalPS: If prompt
1.scons is an automated build tool under LinuxSCons is written in Python, and you need to verify that Python is already installed before using SCons. (Run Python-v or Python--version on the system's command line).2. The installation process is as followsWget http://prdownloads.sourceforge.net/scons/scons-2.2.0.tar.gz.Tar zxvf scons-2.2.0.tar.gzCD scons-2.2.0Python setup.py Install3. The compile process if the following error occurs: Checking whether the C + + compiler Worksno C + + compiler None
//open an article titled Building a Mirror from Dockerfile and publishing a Web projectBayiWebdriver.findelement (By.partiallinktext ("Build image from Dockerfile and publish Web project") . Click (); the theThread.Sleep (1000); - //move to the bottom - //( (Javascriptexecutor) webdriver). Executescript ("Window.scrollto (0, Document.body.scrollHeight)"); the //moves to the specified coordinates (moving relative to the current coordinate) the((Javascript
follow up on a system configuration change process, only in the "Change management platform (each company may be different)" keyword (such as system name, business name, IP, change) can be retrieved.So, why should I use a tool like puppet?2. Remote command execution(such as batch check server configuration parameters)SSH commands can be fully implemented, as for batch execution, but also in the outer layer of SSH, set a loop structure. So, why should I use Func for remote command execution.As f
Gulp Automation Building Tools
Reference: http://www.cnblogs.com/aiiright/p/6762355.html
1、 What is Gulp? Gulp is the building tool for front-end code. Can optimize the resources of the website, based on the Nodejs Automatic Task Manager, can complete the test, check, merge, compress, format, automatic browser refresh, deploy file generation, and listen to the changes of files in Js/css/sass/less/image/html
= root group = root mode = 777"
[[Email protected] shell] # ll/root/array. sh-rwxrwxrwx 1 Root 323 Oct 25 13:01/root/array. sh # permission change note: the remote host user exists and the group exists; otherwise, the copy fails.
(5) download the specified URL content to the remote host.[[emailprotected] SHELL]# ansible manage-other -m get_url -a "url=http://www.baidu.com dest=/root/index.html"
Summary:Command: shell command with remote execution permission.Script: Execute the control script
First, install node https://nodejs.org/download/ Select the corresponding version as needed After installation, you can check the version by Node-v. Node-v Second, Installation Gulp NPM Install-g Gulp Go to project directory Since the gulp has been installed globally (But make sure the global version is consistent with the local version.) It's best to reinstall it. NPM Install--save-dev Gulp After the installation is done Gulp–v The global gulp is consistent with the Gulp version under thi
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.