Wednesday, May 20, 2020

Automate me

Hey guys, Here you will  practice Page object model framework, Cucumber framework. Automate this page to  learn here text box, check box, drop down, hover, locator, comment, test case, Scenario:

Test Case:

Feature: Comment on " Automate me " Article.

Scenario: Comment with correct details
Given User navigates to javaqaeng.blogspot.com website
And User clicks on the search button on homepage
And User search "Automate me" the search button and click it
And User clicks Automate me
When User clicks on "No comment:"
When User writes a message
Then User should enter a comment
And User select a name
Then User write a name
And User Preview comment
And User wait 30 second to review comment
And User clicks on publish a comment



What are the things we cannot automate using selenium?

There are many thing possible that cannot be done using Selenium WebDriver. Few of them which I can list down are as follows:
  1. Bitmap comparison is not possible using Selenium WebDriver.
  2. Automating Captcha is not possible using Selenium WebDriver.
  3. We can not read bar code using Selenium WebDriver.
  4. We can not automate OTP submission.
  5. There are more things that cannot be automated using Selenium WebDriver.
  6. Regression TC that require manual involvement can not be automated ( reading OPT from mobile and enter it )
  7. Any feature that doesn't support tool can't be automated ( captcha/ data typed on virtual keyboard )

Selenium can be used to automate the following kind of cases:-
  • Functional cases
  • Smoke testing
  • End-to-end test cases
  • Cross-browser tests
  • Regression test cases
  • Acceptance tests
  • Responsiveness cases
  • Sanity test cases
  • Integration tests

Locators in Selenium:
You can locate web elements by 
  1. ID
  2. Name
  3. Class Name
  4. Tag Name
  5. Link Text 
  6. Partial Link Text
  7. CSS Selector
  8. XPath
These are the Locators you can use to find a web element in Selenium.

Hey Guys You can Practice in this page also. 

How to automate radio button in Selenium Webdriver


Hidden elements  Male Female



Normal Scenario Java C# Python Ruby



Hobbies Singing Coding
***********************************************************************************

How to use explicit wait in Selenium


Click on "Try it". I will display Automation tools after some interval
*****************************************************************************************

How to handle calendar in Selenium Webdriver


Calendar Handle

Date: 

*************************************************************************************

How to handle autocomplete feature in Selenium Webdriver


*********************************************************************************

***********************************************************************************

Bootstrap Dropdown Example for Selenium

Dropdowns

The .dropdown class is used to indicate a dropdown menu.
Use the .dropdown-menu class to actually build the dropdown menu.

*********************************************************************************

How to automate tooltip in Selenium webdriver

Tooltip

Move the mouse over the text below:
Hover over me

**************************************************************************************

Multiple window examples


How to perform mouse hover in Selenium Webdriver


No comments:

Post a Comment