Selenium IDE is an automated testing tool which can be used to create automated scripts to test the web application more faster. Below is how a selenium script can be created and executed.
1. Above snapshot is the basic layout of selenium IDE. In above snapshot, red colored round button is nothing but Recorder button. By keeping the recorder button as ON, we can record name of textboxes, radio button, text typed in textbox into screen below it. This is detailed in snapshots below. You can see the text box of Base URL, containing URL. You can give URL of your web application so that scripts will test on your application.
2. In above snapshot, drop down for Command shows various commands which you can use while creating scripts.These are default commands which comes with Selenium IDE. In order to get more commands, especially javascript commands, you need to download corresponding extension files and upload in IDE.
3. Above snapshot tells that IDE is recording actions taken on www.google.co.in. Note that in order to record actions, red colored circle button needs to be ON as shown in above snapshot. In above snapshot, as "google" is typed in the textbox of google.com website, 2 commands are automatically recorded i.e. open and type. open command opens the URL placed in Base URL and type command identifies what text is typed in which text box alongwith the name of that text box. Here, name of text box on google.com is "sf".
4. Similarly, button whose name is "Google Search" in display, has actual name as "btnG". As this button was clicked, click command was automatically traced by IDE. And now, save the script. Always remember to save the script with .html as extension. Here, script was saved as script.html.
5. Now for execution of the script, Make the recorder button as OFF. Click Execute button as shown in above snapshot. After execution, result looks some thing like shown below.
I came across a Free Anti Virus software few days back. I installed it in my machine and it is running. So i just thought of sharing it with you.
The name of the software is AVG Anti Virus Free. Go to the website www.freewarefiles.com and you can find this software in the list Software Categories -> Antivirus.
Main features of this software are :
Anti Virus
This part of the software protects your computer from viruses ans worms.
Anti Spyware
This part of the software protects your computer from adware, spyware and other harmful programs.
E-mail scanner
This part of the software protects your computer from incoming and outgoing mails.
( Note : Iam not sure about how this part works. Whether it checks POP3 mails or yahoo,gmail or both ?)
Resident Shield
This part of the software protects your computer from the files that you are working with.
Update Manager
This part of the software downloads the latest version of the software as and when.
1.Scheduled scan :
1. You can do scheduled scan of all the files in your computer. For this ( after the AVG software is installed ) go to menu Tools -> Advanced settings.
2. Choose the drop down tree Schedules.
3. Click the branch named Scheduled scan.
4. You can see three tabs Schedule settings, How to scan, What to scan.
1.1. Schedule settings :
Here you have the option of when you want to scan your files. Please see the image below.
1.2. How to scan:
Here you have the options for whether if a virus is found , it has to be repaired or not.
1.3. What to scan:
Here you have options for the files to scan.Whether you want to scan the whole system,whole drive or particular folder.
1.4.Scan Results:
You can view the results of the scheduled scan by clicking the menu History -> Scan results.
Still there are many other settings for Email scanner, Updates, Resident shield etc are available which you can explore.
As told in my previous article Pattern Recognition,
Pattern recognition is "the act of taking in raw data and taking an action based on the category of the data". It aims to classify data (patterns) based either on a priori knowledge or on statistical information extracted from the patterns. The patterns to be classified are usually groups of measurements or observations, defining points in an appropriate multidimensional space.
Hence various data(patterns) constitute a dataset and every pattern has some features.The number of features to be picked is totally on the user or the programmer who is working on these patterns.
Saying about me,I'm a Bachelor of Technology student in Information Technology and currently in my final year of engineering.So as a part of my degree,I'm currently doing a project on Pattern Recognition Using Neural Networks which consists of 3 parts:-
1.Face Recognition using Eigenface Approach.
2.Iris Recognition using Hamming Distances.
3.Fingerprint Recognition using Directional Filter Bank Technique.
In this article(this is actually the report which I will be submitting next year to my college authorities),I will explain about the first point, that is,Face Recognition using Eigenface Approach in details. And for other two points you have to wait for my next articles.
So I would like to introduce you to some of the principles behind face recognition. Currently there are a several methods to achieve face recognition. Among them we have the neural network approach, the statistical approach - primarily based on histograms, the multiresolutional approach, the information theory approach, and the eigenface approach.
I would be focusing on the Eigenface approach. This method was originally suggested by Alex P. Pentland and Matthew A. Turk from MIT in 1991. This method consist on weighting the difference between a given face image and a mean image, which is obtained by averaging a predefined set of faces. The training set is a group of face images from which the mean face is calculated. Face recognition takes place by linearly projecting the image to a low dimensional image space and weighting the difference with respect to a set of eigenvectors. If the difference (weight) is bellow certain threshold, the image is recognized as a known face; otherwise, the face can be classified as an unknown face, or not a face at all.
Some of the limiting factors of this approach are the background, difference in illumination, imaged head size, and head orientation. To solve some of these problems we could identify the location of the head and zoom until we observe most of the face. We could also set the camera's lighting based on the time of the day.
Details of Eigenface Approach
The set of images is used to create our eigen space for face recognition. The goal of this tutorial is to apply the eigenface approach to recognize someone's face. The overall problem is to be able to accurately recognize a person's identity and take some action based on the outcome of the recognition process. Recognize a person's identity is important mainly for security reason, but it could also be used to obtain quick access to medical, criminal, or any type of records. Solving this problem is important because it could allow personnel to take preventive action action, provide better service - in the case of a doctors appointment, or allow a person access to a secure area. This project will show you how to build a face recognition program using MATLAB.
The rest of the project is presented as follows:
- Parts List and Sources
- Construction
- Programming Concept
- Conclusion
Parts List and Sources
To complete this project, you'll need MATLAB version 6.1 or higher.
You can download it from www.mathworks.com .
Note:- It is not a free software but if you are an engineering student then consult your college. Your college must be having this software.
Construction
This section gives step-by-step instructions along with photos and formulas on how to recognize faces and implemented into MATLAB.
Steps
1. The first step is to obtain a set S with M face images. In our example M = 25 as shown at the beginning of the project. Each image is transformed into a vector of size N and placed into the set.
2. After you have obtained your set, you will obtain the mean image.
3. Then you will find the difference Φ between the input image and the mean image.
4. Next we seek a set of M orthonormal vectors, un, which best describes the distribution of the data.
5. Then we obtain the covariance matrix C.
6. Then we find the eigen vectors.
Recognition Procedure
1. A new face is transformed into its eigenface components. First we compare our input image with our mean image and multiply their difference with each eigenvector of the L matrix. Each value would represent a weight and would be saved on a vector Ω.
2. We now determine which face class provides the best description for the input image. This is done by minimizing the Euclidean distance.
3. The input face is consider to belong to a class if εk is bellow an established threshold θε. Then the face image is considered to be a known face. If the difference is above the given threshold, but bellow a second threshold, the image can be determined as a unknown face. If the input image is above these two thresholds, the image is determined NOT to be a face.
4. If the image is found to be an unknown face, you could decide whether or not you want to add the image to your training set for future recognitions. You would have to repeat steps 1 trough 7 to incorporate this new face image.
Programming Concept
This algorithm works in the following manner: First, it obtains several images from the training set
(figure 1). The code was been tested using png,bmp and jpg images. After loading these images, we find the mean face and perform several calculations. Next, we ask for the name of an image we want to recognize (note: the image must have the same size as the training images). We then project the input image into the eigenspace, and based on the difference from the eigenfaces we make a decision.
Conclusion
This Eigenface algorithm works well. In most of the cases this algorithm has provided 95-100% accuracy. But still it is necessary to normalize the images and use some filtering techniques to obtain better results.
So my dear friends if you are interested in this project and want the full source code, that is, MATLAB code for face recognition using Eigenface algorithm, do post your demands in the comments or email me at:
I will provide the source code for free and if the demand is more, I will post the source code and its results in my next article.
Regards.
Karan Kumar Jaiswal
People who are thinking or planning to come in Software Testing Field here are some advantage of choosing testing as career.
Software Testing is a engineering field with lots of potential for building a career in information techonology. The benefits of swithing to software testing career.
1) Stay in touch with software development process.
2) Salary and benefits same as software development.
3) Chance to get familier with all latest computer technologies & various programming languages.
4) Less tension and risks compared to software development.
5) Software development technologies changing very fast so you can learn the process, you have the chance to apply your knowledge for several years.
6) High Job Security.
7) Inceasing Job Opporunity.
8) Flexible Option- you can do advance levels in automation like writing scripts & can apply programming skills to develop automated test programs.
Thank You !! Have a god day !
Ashish Darji
QA,
Dev Information Technology Pvt. Ltd.
Ahmedabad, Gujarat.
9924376705.
mail:
- CTRL + A : Select all the cells of the active worksheet.
- SHIFT + F11: To insert a new worksheet
- CTRL + PgDn key : Moves to the next worksheet
- CTRL + PgUp key : Moves to the previous worksheet
- CTRL + N : Opens new workbook window
- CTRL + D: Copies the contents of previous cell to current cell.
- SHIFT + Space bar key : Selects the current row.
- CTRL + Space bar key : Selects the current column.
- CTRL + Tab key : Moves to the next opened workbook.
- CTRL + K : Insert hyperlink
- F2 : Edit the selected cell
- CTRL + F2 / F4: Print preview of current sheet
- CTRL + F4 : Closes the current workbook
- ALT + F2 : Opens the "Save as" window
- ALT + F11 : Opens the workbook in Visual Basic
- F1 : Opens the Microsoft Help window
- CTRL + F : Finds a particular text in the sheet
- CTRL + H : Finds a particular text and replaces it with the given text
- CTRL + S : Saves the workbook
- CTRL + 1 : Opens the Format dialog
- CTRL + - (Minus key) : Opens the delete window
- CTRL + T / CTRL + L : Creates a table
- CTRL + O : Opens the Open file window
- CTRL + P : Opens the Print file window
- CTRL + G : Opens the Goto window
More Articles …
Subcategories
Web Hosting
Web Hosting is a service offered by web hosting providers to the individuals and organizations to make their websites accessible on the internet. Depending on the requirement, one can avail different types of web hosting such as shared hosting, dedicated hosting, virtual private hosting, cloud hosting etc.
Page 80 of 193