Getting the value of an attribute

package package_name;

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

public class class_name {
// The first letter of class name should be UPPER CASE
WebDriver driver;
public static void main(String[] args) {
System.setProperty(“webdriver.chrome.driver”,”path of driver/chromedriver.exe”);
//using chrome driver for coding
ChromeDriver driver = new ChromeDriver();
//Maximize the driver
driver.manage().window().maximize();
//Open the URL
driver.get(“https://www.sbi.co.in/portal/web/home/emi-calculator/ “);
//Enter the EMI amount
driver.findElement(By.name(“uamount”)).sendKeys(“5000”);
//Enter the EMI interest rate
driver.findElement(By.name(“uTime”)).sendKeys(“10”);
//Enter the EMI Time Period
driver.findElement(By.name(“uRate”)).sendKeys(“7”);
//Click on submit button
driver.findElement(By.xpath(“.//*[@id=’content-area’]/form/table/tbody/tr[3]/td/p/input[1]”)).click();
//Getting the EMI value
String aaa;
//Storing the EMI Value
aaa= driver.findElement(By.name(“uEmi”)).getAttribute(“value”);
//Displaying the EMI value
System.out.println(aaa);
//Storing the EMI Calculated
String bbb= driver.findElement(By.name(“totalint”)).getAttribute(“value”);
//Printing the EMI Calculated
System.out.println(bbb);
//Closing the driver
driver.close();
}
}

Bootable pen drive through command prompt in Windows platform

1.) Open your Windows Cmd Command Prompt and run it as administrator for typing commands on it. I only suggest you to open cmd as administrator because the current user command prompt version won’t work because of some administrator security reasons. Run command to open cmd – “CMD”
2.) Just after when your windows cmd opens up, then type a “diskpart” command on it and that will take you to the Disk Management Utility in the command prompt.
3.) Now, type “list disk” to show every connect disk in your computer and after that just type “select disk H” (H Is Your Disk Or I Say Your Pendrive Disk Number).
4.) Selecting your Pendrive in diskpart will make your Pendrive active from now on and after that, there are some of the commands you will have to type into your cmd for disk cleanup, partition creation and some other import process which is definitely needed for boot conversion.
5.) Remaining Commands to Type next to 4th point –

Clean
Create partition primary
Select partition 1
Active
Format fs=ntfs quick
Assign
Exit

Now your Pendrive made fully bootable and the only thing which remains now is to copy your Windows Setup files into the Pendrive. You can use your windows installer disc to transfer setup files into your Pendrive if you having one or you can use an .iso image of your bootable windows image and extract it on your Pendrive for files transformation propose.
Tip: You’ll have to make sure about that, you only need to transfer windows files, not a single setup folder. If you just only copied setup folder in your Pendrive, then your Pendrive won’t boot when you wanted too.

The image is uploaded in this link

PING

Hi friends,
The term PING stands for packet internet grasp.. It is used to find the continuous flow of data packets inside the network.. The syntax for finding the ping command is Go to Run command on the system and then type ping . Alternatively go to the run command using the keyboard shortcut Ctrl+R.

Enjoy!!!

IP Address

Hi All,

In this tutorial, I am gonna to tell about the IP address. An IP (Internet Protocol) address is an identifier assigned to each computer and other device(s) (e.g., printer, router, mobile device, etc.)
To know about your IP address just open command prompt and type

ipconfig in windows systems and ifconfig in Open source systems

and your IP address will display inside IPV4.
Note:There is unique IP address for a system and configuring the Same IP in other system can disable the IP or converts into proxy address
If The institutional or group IP address is enabled, then you can see the group IP address by typing
the below line in any search engine E.G. Google, Yahoo, Bing etc.,

What is my IP

Sign in to Browser

Hi All,

In this post, I am gonna to tell about the browser sign in feature. This gmail ID and password can be used as chrome sign in details. By this feature, multiple chrome browsers can be logged in with same Login details.
The Main feature is that the data synched into particular login details of one chrome browser can be used in any chrome browser with that login details. Also, the URL entered in browser using a login details can be used by other browser with same login (Browsing History).

Just Try and test your luck…

Pen drive Shortcut

If your pen drive is affected by a shortcut virus you just enter the following in command prompt by giving the correct drive location.

For example if my pen drive is in J: use the following to remove the shortcut virus in the command prompt.

                                J: attrib -r -s -h *.* /s /d