#you need to know
Controller:
filename be in lower case,
class name starts with "Controller",
to show view file you need to type : View::forge('view/[here filename]')
| var fileRead = System.IO.File.OpenText("test.txt"); | |
| while (fileRead.Peek() != -1) | |
| { | |
| string line = fileRead.ReadLine(); | |
| // here your code | |
| } | |
| fileRead.Close(); |
#you need to know
Controller:
filename be in lower case,
class name starts with "Controller",
to show view file you need to type : View::forge('view/[here filename]')
to start use composer in windows
that's easy first you need to
download composer https://getcomposer.org/Composer-Setup.exe
install composer
make folder into any place
#This is a testing checklist for web and desktop applications.
Make testing checklist as an integral part of test cases writing process. Using this checklist you can easily create hundreds of test cases for testing web or desktop applications. These are all general test cases and should be applicable for almost all kind of applications. Refer these tests while writing test cases for your project and I’m sure you will cover most testing types except the application specific business rules provided in your SRS documents.
Though this is a common checklist, I recommend preparing a standard testing checklist tailored to your specific needs using below test cases in addition with application specific tests.
###Importance of Using Checklist for Testing: – Maintaining a standard repository of reusable test cases for your application will ensure the most common bugs will be caught more quickly. – Checklist helps to quickly complete writing test cases for new versions of the application. – Reusing test cases help to
** MySQL
disadvantage
to make it fast use ndb cluster as DB Engine and merge many servers
| private void WaitLoading(IWebDriver driver) | |
| { | |
| try | |
| { | |
| IWait<IWebDriver> waitload = new WebDriverWait(driver, TimeSpan.FromMinutes(15)); | |
| waitload.Until<bool>((IWebDriver driver1) => ((IJavaScriptExecutor)driver).ExecuteScript("return document.readyState", new object[0]).Equals("complete")); | |
| } | |
| catch | |
| { | |
| throw; |
| var xpath_any_attr_equal = "//button[.='OK']"; | |
| var xpath_any_element_equal = "//*[text='OK']"; | |
| $validator | |
| ->requirePresence('link', 'create') | |
| ->notEmpty('link')->add('link', 'validFormat', [ | |
| 'rule' => array('custom', '_^(?:(?:https?|ftp)://)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)(?:\.(?:[a-z\x{00a1}-\x{ffff}0-9]+-?)*[a-z\x{00a1}-\x{ffff}0-9]+)*(?:\.(?:[a-z\x{00a1}-\x{ffff}]{2,})))(?::\d{2,5})?(?:/[^\s]*)?$_iuS'), | |
| 'message' => 'Please enter a valid link.' | |
| ]); |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| $users = $this->Posts->Users->find('list', ['limit' => 200]); | |
| $this->set(compact('users')); |