Robot Framework Beginner Tutorial 10 – How to run Tests from Command Line

Today we will learn: —————————— 1. How to run one specific Test from cmd 2. How to run few selected Tests from cmd 3. How to run tests with TAGS from cmd 4. How to run all Tests in a Suite from cmd 5. How to send RESULTS to a specific folder Useful TIPS ______________________________________________________________ Step 1 : Open cmd and goto the location of project Step 2 : Run single test robot -t TestName SuiteFile Step 3 : Run multiple tests robot -t Test1 -t Test2 SuiteFile Step 4 : Run Tests with TAGS Include TAGS robot –include tagName SuiteFile robot -i tagName SuiteFile robot -i tagName -i tagName SuiteFile robot -i S* SuiteFile Exclude TAGS

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *