Skip to main content

Posts

Rails Framework

 Rail is a framework of ruby language that is used to create complete web applications and Restful API for mobile applications. It is an open-source web framework that follows the MVC design pattern, MVC means Model, View, and Controller. Model is used to create data access layer, the view is used to created user access layer and controller is used to create business access layer and application intermediate layer. MVC flow is different from their name because the first controller layer will start the application after that model and the view layer will be loaded. MVC is the modern design pattern, that follows by many application technologies. SPRING MVC in JAVA, ASP.NET MVC for .NET, Laravel and Codeigniter for PHP, DJANGO for Python, and Rail for Ruby. Rails Architecture:- How to install ruby:- gem install rails

What is Automation Testing?

................................................................................................................................................................... it is another way of software testing which provides automated software tools to execute test cases based on the test script. The test script will be written in the programming language according to automation software tools. Manual testing is better for the waterfall model but it will take more time to implement testing operations in the agile model because the agile model will use regression testing (continuous testing of the application from end to end ) which is not possible by manual testing. Name of automation tools:- 1 QTP (Quality Test pro):-                                     VB Script 2 Selenium Web Driver:-                              ...

TEST NG in Selenium?

It is an Automation Framework that provides a set of annotations to create and execute a test script. It provides a structured approach to writing code that is easily understandable by automation developers. it provides a test script, test code, and annotation to write a program. It is upgraded from Web Driver and a modified form of JMeter. TestNG Command, Locators are similar to Web Drivers. TESNG Provides HTML Test REPORT With all Test methods separately. Type of Annotation:- @Test // it represents Test Method @Test void fun1() { } ........................................................................................................................... @BeforeTest:- This annotation will be executed before the Test Method, It will be declared only once in one Test Class. @AfterTest:- This annotation will be executed after the execution of all Test methods .it will be declared only once in one test case. @Test:- It is used to create a Test Case Method, We can create more than ...

Django Introduction & Installation in Python

It is a Web-based Framework of Python which provides MVT(Model, View, Template) Design pattern to create a Dynamic web application. Django MVC is also known as MVT architecture. MVT means Model, View, and Template,   Model is used to provide a data access layer, View is used to provide business access layer or Code layer,  and Template is used to provide user access layer or design. Why Django is best as compare to other frameworks:- 1) Django contains predefined libraries to create secure, reliable, and Fast dynamic web applications. 2) Django Framework is Open Source so that we can easily customize the Django Framework program code and structure. 3) Django provides rapid application development tools because it has an inbuilt app to create a login , admin dashboard, user management (ACL access control list ),  Session management, etc. 4) Django Framework can easily be integrated with HTML, CSS, JS, and Jquery to design web pages. 5) Django Framework ...

What is Servlet or Web Servlet?

                                                                                                                                             Next Chapter It is a predefined Java Interface that provide   HttpServlet class that exists under javax.http.servlet package. This class will be compiled by Java Compiler and executed by JVM under  Servlet container by Web Server. A Servlet container is used to manage the servlet code that is written on the java programming language of an application, Webserver is only used to manage static files (HTML, JS, CSS, Jquery) and JSP Web page but dynamic content will be managed by Servle...

What is Selenium IDE ?

Selenium IDE Locator Example:- In this selenium IDE tutorial, I am providing a Live example of how to create a script manually. using locator. Locator is used to providing a complete path of HTML elements. open  http://shivaconceptsolution.com/test.html it is a testing page to do the practice of locators and commands. http://shivaconceptsolution.com/test.html TextField:-   it is used to take input from the user's HTml Tag   <input type="text"   /> Possible locator  name,id,css selector,xpath command:-    type Hyperlink or anchor tag or link tag :- it is used to perform navigation from one web page to another Html tag:-  <a href="www.google.com">Link Text</a> Possible locator:-  linkText,partialLinkText,xpath command:-  click class locator :-   if id and name field not found then we use class attribute using CSS selector:-   css= tag name.classname id locator using CSS selector: -...

How Selenium IDE Works?

Selenium IDE:- It is independent software tools of selenium which will be added on a web browser. initially, selenium IDE was developed for Firefox Browser but now it can be used in the chrome browser. it provides record and plays editor to record application before the condition and after condition. it generates test script by default using the JAVASCRIPT Program code. we can customize the generated script and create the script manually. parameters of selenium IDE:- selenium IDE has categorized into three mandatory component 1 command:- it is used to perform the dynamic operation in an application for example if we want to click then click command will be used. if we want to open any web application web page then the open command will be used. 2 target:- it is called locator which is used to find the element under web pages.we will define the complete path of the element. 3 value:- it is used to define the value of a particular element. it is optional for some command and mandato...