Скачать презентацию Win Tricks Слайд скромности Скачать презентацию Win Tricks Слайд скромности

Win Tricks.pptx

  • Количество слайдов: 22

Win Tricks Win Tricks

Слайд скромности. . . • • • About 5 years QA and 2 - Слайд скромности. . . • • • About 5 years QA and 2 - dev ISTQB Foundation Level ISTQB Advanced level Test Management Manual, semi-, automations Web, desktop, mobile SQA Days speaker

Agenda • • Activities Hot Keys Run menu Install Version Control Man. bat Warning! Agenda • • Activities Hot Keys Run menu Install Version Control Man. bat Warning!

Activities • • • “Fazta copypazzta” Everyday routines Version control Deployment and installation Seamy Activities • • • “Fazta copypazzta” Everyday routines Version control Deployment and installation Seamy side

Hot Keys • System: • • Browser: • • Win + R – open Hot Keys • System: • • Browser: • • Win + R – open Run dialog Win + E – open explorer window (then F 4 moves the cursor to address line) Win + D – collapse /expand all opened windows Win + Break – system summary SHIFT + (Right/Left) – expand /collapse item in tree Alt + F 4 – Note, Excel may close all opened spreadsheets!!! Alt + ( Left/Right ) – browser Back/Forward CTRL + T – new tab CTRL + W – close current tab CTRL + K – search (e. g. in Firefox it places the cursor to search text box, in chrome – adds to address line with “? ” prefix) CTRL + L – cursor to address line CTRL + SHIFT + W – open last closed tab CTRL + (1/2/3… 9) – show tab № Text: – – – – CTRL + (Left/Right) – cursor jumps over a whole word CTRL + (Backspace/Delete) – delete whole word CTRL + (Home/End) - jump to the beginning/end of text CTRL + SHIFT + Left/Right – mark whole word (as well as double-click does, you know? ) CTRL + SHIFT + (Home/End) – mark whole text staring from cursor and to the beginning/end CTRL + A – mark everything! ALT+LEFT/RIGHT/UP/DOWN (or mouse selection) – select text by columns (Word, Far. Editor)

Ready, steady, run ! • Mstsc - RDP • Excel/winword/powerpnt – MS Office apps Ready, steady, run ! • Mstsc - RDP • Excel/winword/powerpnt – MS Office apps • Mspaint – regular paint • Cmd – opens the console, current directory is current user’s directory • Ping/tracert – no comments (except “ping -a address“ – resolves machine name by IP) • Net start/stop – windows service start/stop • Sc create/delete – windows service start/stop • Netstat (-aonb) – info about network connections • . . | grep – filter in results • Find –n – find in file (or just count in file) • Inetmgr – IIS manager • Compmgmt / servermgmt – system configuration manager • Services. msc – windows services manager • Eventvwr – system logs • Appwiz. cpl – application manager

Install • Setup. Exe /? , for example: – Setup. Exe /verysilent /log=“c: tempinstal. Install • Setup. Exe /? , for example: – Setup. Exe /verysilent /log=“c: tempinstal. log /norestart /nocloseapplications /dir=“c: Any. Custom. Dir” • Setup. msi /? , for example: • i – Status messages • e – All errors • v – Very verbose – Setup. msi /quiet /norestart /iev “c: tempinstall. log”

Deployment • Msbuild - remember this name, it does all the magic! – Building Deployment • Msbuild - remember this name, it does all the magic! – Building – Deployment • Packing • Copying • Creating new site or web application – Configurations management

Deployment Regular call: msbuild Solution. File. sln /p: Configuration=Release In script: msbuild /property: Destination. Deployment Regular call: msbuild Solution. File. sln /p: Configuration=Release In script: msbuild /property: Destination. Area=%deploy_path%; Branch =%branch% MSbuild-transformation-config. xml

Smack my batch up • Contexts – Current directory and relative paths – Already Smack my batch up • Contexts – Current directory and relative paths – Already set variables • Variables: – Set var_name=value – Echo %var_name% • Loops: – for /F "tokens=%deepness%* delims=" %%i in ('dir /o-d *. sql /s /b') do ( • Branches: – IF ERRORLEVEL 0 GOTO success – If “%1” == “” echo enter the value • Stop script – exit • Script inputs – %1 %2 %3 … • Return something from script – echo – Echo can be redirected to file: echo date > date. txt

Demo Demo

Version Control • Git – rich command line interface • SVN (Tortoice) – Call Version Control • Git – rich command line interface • SVN (Tortoice) – Call windowed interface via cmd – Separated cmd tools for SVN

Warning! • Do not copy-paste command lines from this presentation to command line directly! Warning! • Do not copy-paste command lines from this presentation to command line directly! Conflict in “-” may occur. (http: //goo. gl/MRAJTV).

Skype: Paul. n. smirnoff paul. n. smirnoff@gmail. com Skype: Paul. n. smirnoff paul. n. smirnoff@gmail. com

Вопросы Вопросы