Thursday 30 May 2019

KbTutorials youtube channel reached 2k subscribers

Yes guys we reached 2k subscribers this month(30/05/2019).
The journey has been amazing,we reached 1k sunscribers in Dec 2018, now within 6 months we doubled it.
All the credit goes to you guys for continuous support in me and my content.

I am  starting machine learning and artificial intelligence tutorials in near future,lets see how it goes.

Below are the urls :

For Selenium :
https://www.youtube.com/watch?v=BQzHzwnNNyY&list=PLrlbnvtRPsstpMpLapjHPv4OvkDsFcMTF

For UiPath Rpa:

https://www.youtube.com/watch?v=JDVk70-zf7o&list=PLrlbnvtRPsssGysKH0Ll_J5zflCkwRk1Z

For UiPath Telugu:
https://www.youtube.com/watch?v=sJSK5oZOmJM&list=PLrlbnvtRPssvEIisGwyH1rO8TvFHLnXPl

For Rest Assured With Java:

https://www.youtube.com/watch?v=SS5v-k9f5kI&list=PLrlbnvtRPssuBC5tVMzlmxF77VY272tjB


Guys please do subscribe to the channel if you not yet.
See till then bye.


Thursday 23 May 2019

UiPath Rpa Tutorials In Telugu

Are you looking for UiPath Rpa tutorials in telugu ?, then you landed on correct page.
Yes I do prepare uipath tutorials in English as well as Telugu.
These tutorials are varies from desktop automation to consuming external api's  all these tutorials ai will directly uploads in youtube.

Below is the link for  tutorials on YouTube . https://www.youtube.com/watch?v=sJSK5oZOmJM&list=PLrlbnvtRPssvEIisGwyH1rO8TvFHLnXPl

And also I will uploads lots of tutorials in this blog as well. so please do check this as well.

Sunday 19 May 2019

Selenium Web Driver Tutorials - Dynamic Search Example

In this tutorial we will see how to perform dynamic search using Selenium web Driver 

For example i am taking  tsrtc(https://tsrtconline.in/oprs-web/) site .here if you type from place few characters it will gives you the suggestions bar from suggestions bar we need to select the from place. I have automated this scenario using selenium web driver.

First we need to identify the from place web element ,then using sendKeys in selenium we need to enter data (in our case I am sending "Banga") after half second it will gives you the suggestion bar.
With findElements we can get the list of elements in suggestion bar,using for loop and getText() in selenium web driver we can get all the elemenents .Using simple if else condition we can desired element .

import java.util.List;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

public class DynamicSearch {
 public static void main(String[] args) throws InterruptedException {
String path ="F:\\Automation_lib\\chromedriver_win32\\chromedriver.exe";
System.setProperty("webdriver.chrome.driver",path);
WebDriver driver = new ChromeDriver();
driver.manage().timeouts().pageLoadTimeout(20, TimeUnit.SECONDS);
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
driver.get("https://tsrtconline.in/oprs-web/");
 
WebElement fromPlace = driver.findElement(By.id("fromPlaceName"));
fromPlace.sendKeys("Banga");
Thread.sleep(1000);
 
List<WebElement> suggestions = driver.findElements(By.xpath("//ul[@id='ui-id-1']/li"));
 
for(WebElement el : suggestions) {
System.out.println(el.getText()+"***");
if(el.getText().trim().equals("BANGALORE")) {
el.click();
break;
}
}
 
 
 
 }
}


For video version tutorial please refer below




Friday 17 May 2019

Maven Libraries For Selenium Web Driver

To implement the any project using selenium web driver it is really important to have all the libraries set .So I will give you the POM dependencies for selenium web driver structure , you just need to copy paste it in your pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>0.1</groupId>
  <artifactId>POM1</artifactId>
  <version>0.0.1-SNAPSHOT</version>
 
   <dependencies>
   <!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>selenium-java</artifactId>
    <version>3.141.59</version>
</dependency>
 
<dependency>
    <groupId>org.testng</groupId>
    <artifactId>testng</artifactId>
    <version>6.14.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.13</version>
</dependency>

<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.12</version>
   
</dependency>
 
  </dependencies>
 
</project>
To Implement the page object model framework in selenium web driver ,do follow this tutorial

Find Elements Example In Selenium Web Driver

In this tutorial we will learn find Elements example in selenium web driver

findElements in selenium will return the list of web elements if match found for all the elements for a given selector. If no match found it will return NULL unlike findElement will return element not found exception.

So below example will show you how to use findElements and how to loop through the list of web elements .



import java.util.List;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

public class CountOfLinks {
 public static void main(String[] args) {
String path ="F:\\Automation_lib\\chromedriver_win32\\chromedriver.exe";
System.setProperty("webdriver.chrome.driver",path);
WebDriver driver = new ChromeDriver();
driver.manage().timeouts().pageLoadTimeout(20, TimeUnit.SECONDS);
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
driver.get("https://www.icicibank.com/");
 
List<WebElement> els =driver.findElements(By.tagName("a"));
System.out.println("Number of links :"+els.size());
for(WebElement e :els) {
System.out.println(e.getAttribute("href")+"*****"+e.getText());
}
 
 }
}

Saturday 4 May 2019

How To Create A Project In UiPath Studio

In this tutorial I will show you how to create your first project in UiPath using UiPath Studio.
 Open the  UiPath Studio from menu, to create a new project click on the Process  as shown below



   
Then enter the name of project , select the location and description about project(optional)
   As shown below

       Click on create.
 Once all the  dependencies ,work space loaded successfully then you can see project has been created successfully.


Friday 3 May 2019

Java 12 Installation

In this Tutorial I will explain about how to install java 12 in windows.
First you need to download the latest java 12 from below link

Once you downloaded the zip file , extract the file you can see folders like this




Then go to bin folder ,copy the path as shown below.



Go yo System right click on Properties ,click on advanced system settings




Click on environmental variables ,go to path variable click on edit




Then click on previously entered path  and click on save.





Now come to command prompt and enter "java -version" ,then you should see jdk 12 installed properly in your windows machine.



For step by step process please follow the below tutorial