Quickest way to remove the google site verification meta tag from HTML code on WordPress site.
If your Google search console does not allow you to remove (or unverify) the owner or additional owners as Meta tag exists in the HTML code. Here is the quick solution !
– In WordPress, disable all the Plugins
– go to Google search console
– select the owner or owners you want to remove
– Click unverify – owner will be removed from console
Note: After removal, you can revert plugin status as per your need.
TestRunner is a program used in Cucumber to access Feature file as copied in the picture below.
Feature file is something that has user requirement scenarios written in English which gives more readability and understandability of the requirement which is called Gherkin language.
So any roles in the company like Tester, developer, end user, and techno functional person can read it and understand it. Also this will reduce the complication in terms of missing requirement or misrepresenting or misunderstanding requirements between different roles like Developer , tester, and end user,
In order to link Cucumber with Selenium WebDriver, you need to start a Java project in eclipse IDE. Then, add both Cucumber and Selenium jar files
Write test runner code and execute the same . Please refer BDD testing details on Selenium Cucumber
Sample Test runner code:
Selenium short video training
Selenium # 26 Selenium Implicit and Explicit wait
Selenium#25 Selenium Keyboard and Mouse events| keyDown(); keyUp(); sendKeys();doubleClick();
Selenium # 24 Coding example | WebElement | locator type xpath, id | driver. findElement short video
Automation testing using Cucumber – Behavior driven development (BDD)
Application behavior is the main focus on BDD. The requirements are written in English which gives more readability and understandability of the requirement.
So any roles in the company like Tester, developer, end user, and techno functional person can read it and understand it. Also this will reduce the complication in terms of missing requirement or misrepresenting or misunderstanding requirements between different roles like Developer , tester , end user etc.
Gherkin is a business readable language, refer below for an example. Below feature file is integrated with Selenium and are having user stories as below.
Please refer below – “feature, Scenario, Given, When, And, Then “are the Keywords below to understand on how to write a feature file…
What is Feature file in Cucumber test and how to create a feature file.
Feature file is a part of Cucumber framework and it contains descriptions in English language.
HP LoadRunner – how to use Virtual user generator.
1) Under Windows menu >> HP Software >> Click on Virtual user generator menu to open HP Virtual user generator application (if you already have HP LoadRunner is installed on machine)
2) Select the protocol – refer Snapshot 1 below,
Note 1: if you are not sure about the protocol, use the protocol adviser in the “Virtual user generator” application and scan the application to find out best matching protocols (refer Snapshot 2 below)
Note 2: for web applications usually “Web – HTTP/HTML” is the protocol, you add additional protocols for database e.g ODBC or Oracle.
Snapshot 1
Snapshot 2
3)
Click on create button in the above snapshot
2. Enter url as copied below in snapshot
3. Then Click start recording
Snapshot 3
4) Once your application pop us – start doing the business transactions which you wanted to do. You will see recording status is updated as below (adding time – below snapshot 4 shows 2.58 min recording )
Snapshot 4
5) Once the code is developed – HP LoadRunner Controller is used to setup the scenario – refer the Performance best practices to get the flow.
Smart identification is needed when recorded script fails to recognize the application object (it may be due to multiple objects has same properties/values or recorded property value is changed)
Smart identification uses additional 2 set of object identification layers (1. Base filter properties 2. Optional filter properties) apart from regular mandatory, assistive properties.
1. To get smart identification enabled – navigate Tools > Object identification.
2. On object identification window – click on configure to add 1. Base filter properties 2. Optional filter properties as shown below.
Parameterization is used to replace the hard coded recorded values in the code.
How to do parameterization in HP UFT/QTP
1. Record the script and find out the values that you want to parameterize it.
2. Refer below – user login id is intended to parameterize here.
3. Click on View > Keyword View
4. Will bring the below screen and click the value field (marked in green below)
5. should bring below screen
6. Select parameter and give a meaningful name as below
7. click ok
8. now go back to Editor
9. as you see below, original code is updated with parameterization and you could see the script execution window updating the application under test (gmail.com) is updated with the parameterized value.
10. QTP results viewer is updated with parameterized values