التخطي إلى المحتوى الرئيسي

المشاركات

عرض الرسائل ذات التصنيف Selenium Lecture by Shiva Sir

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:-                              ...

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...

Create Login Script using Selenium IDE manually?

To Create Selenium IDE TEST SCRIPT first we Open Selenium IDE and Enter the Base URL of LIVE Application. Open:-  It is used to open SITE using URL Command                                     Target                                                           value open                                             /customer/login Type:-  It is used to type content in text field type                                           name = customerEmail                     ...

What is WebDriver, WebDriver Command

What is Web Driver:- It is the most important component of Selenium, which is used to create scripts using Java, C#, PYTHON, etc to test web applications. Web drivers provide better customization and advanced testing operations on Web applications. It also uses a locator, command to create an automation test script. Web driver script can be executed in all standard Web browsers using Web browser Client-based software.  How to create infrastructure for Web Driver under selenium:- 1)  Install Java and Eclipse Software 2)  Download Selenium to manage Web Driver     https://www.selenium.dev/downloads/ 3)  Download Browser Client to run the script for all particular browsers.     https://www.selenium.dev/downloads/ 4) Open eclipse and create Java Project 5) Add Selenium Webdriver Jar file under project   Right click on project ----> Properties ----> Java Build Path ---- > Click on library ---> Add External JAR ---->  Then press...

Complete Command List in Web Driver

Web Driver Locators and Command with Example

  It is selenium component which is used to remotely connect application from a web browser. we can dynamically manage web elements of web applications using action and locators. WebDriver provide set of command to perform the operation. Webdriver can be executed in any web browser, Firefox, Chrome, Internet Explorer, etc. WebDriver use programming language to write test script. Top programming languages of Web Driver:- 1) JAVA  2)C#  3)Python  4) Ruby etc .............................................................................................................................. Step for Web Driver:- 1 Download eclipse software    https://www.eclipse.org/downloads/packages/ 2 Download Selenium Package    https://www.seleniumhq.org/download/ 3 Download Chrome Driver using this link     https://sites.google.com/a/chromium.org/chromedriver/     https://chromedriver.storage.googleapis.com/index.html?path=77.0.3865.40/ 4 ...