Getting started with Selenium

GETTING STARTED WITH SELENIUM

To start with selenium webdriver, you need to have the following items installed on your machine.
Prerequisite:

JDK (java 1.8 preferable)

Selenium libraries (Nowadays there is single jar ‘selenium-server-standalone.jar’ is enough unlike earlier period where we need to install multiple jars),

Browser drivers (.exe of chrome driver, ie driver, gecko driver)

Eclipse IDE

Now that you have downloaded the minimum required elements to start writing selenium code, so let’s start by setting up the environment:

Now select a java project:

Give the project name and finish.
Now configure the build path where you need to set your downloaded libraries i.e. selenium jar files, also need to set JDK and JRE path in the java compiler section. Right-click on your project and build path and configure build path.

Now select the libraries tab above and click add external jars. Add your downloaded selenium jars here:

Also now don’t forget to set your compliance level as per your JDK and JRE version.
For all your latest version of selenium, make sure the compliance level under the java compiler section must be set to java 1.8 or above. Ignoring this might lead to a “class not found” run time exception during running your selenium test script.

Now that you have set libraries and compliance levels, it’s time to write your first selenium code using java.
Right-click on your project and select create a new class.

Give it a name, check “public static void main..” , click finish. You are creating a sample test, where we are not using any testNG, cucumber, or maven therefore we need to include public static void main in our first class to run the test as the java execution will begin through the class where the main method is defined. In subsequent lectures, when we use testNG, cucumber, Maven, we will not use or include the main method as our execution will be taken care of by testNG or cucumber.

Now it’s time to write our first test script which simply opens the browser and navigate to the site specified in the script. We’ll write the code and understand the meaning of each one of them.
In our class, first include the required packages and classes which come with selenium libraries.

Now at class level, that is inside the class but before the main method, declare a webdriver instance variable:

Webdriver driver;

Now inside our main method, write code to set system property:

Here setProperty method is accepting two parameters in the form of key and value. The first one is the string parameter in which we are telling that we are going to use a chrome driver, and the second is also a string parameter where we are placing an entire path till the driver’s exe.
Now in the next line, we’ve initialized the driver with chromeDriver. This piece of the line will open the chrome browser upon execution. Now our browser is open, and we want to navigate to any site. This task will be done by driver.get(“”); method. So driver.get(“”) will land us to the specified URL.

INTERVIEW TIP: Why we cannot write Webdriver driver=new Webdriver();

Since webdriver is an interface therefore we can create its instance variable but cannot create its object. i.e. we cannot write Webdriver driver=new Webdriver(); this will throw error. We can rather write Webdriver driver =new FirefoxDriver(); or Webdriver driver=new ChromeDriver(); or Webdriver driver =new InternetExplorerDriver(); These FirefoxDriver, ChromeDriver, and InternetExplorerDriver are the actual classes which implement the webdriver interface and provide implementation to its methods. So we are assigning the instance variable of webdriver to its implementation classes.

SUMMARY

In this lecture, we’ve installed basic minimum items required for running and executing our first selenium script. We’ve installed JDK, eclipse, selenium libraries, drivers exe’s for browsers. We’ve created a java project, set all the libraries in our project’ build path, created a class, and imported the packages and classes needed to execute our test script. We’ve written the code to set system property, initialized our driver object, open the browser, and finally lands at the site specified in the driver.get(“”).

Gefitinib 250mg

Firstly, Geftinat 250mg Tablet is used in the treatment of non-little cell breakdown in the lungs. It is used in patients in which it has spread to various bits of the body, who have atypical epidermal advancement factor receptor (EGFR) characteristics, and who have not had past treatment for the illness. Geftinat 250mg Tablet can be taken with or without food, yet better to have it at a similar time every day for better results. Therefore, The term of treatment changes as shown by your need and response to treatment. You should take it correctly as your doctor has admonished. Misconstruing it in or taking an extreme measure can cause extraordinary outcomes. Moreover, It may require a short time or months for you to see or feel the favorable circumstances yet don’t stop taking it aside from if your essential consideration doctor encourages you to. However, The most broadly perceived consequences of this medicine consolidate disorder, rash, heaving, and weight decrease. It may cause extraordinary detachment of the guts, drink a ton of fluids, or talk with your essential consideration doctor if it bothers you.

USES OF GEFTINAT TABLET
Non-little cell breakdown in the lungs

BENEFITS OF GEFTINAT TABLET
In Non-little cell breakdown in the lungs However, It is a solid and hurtful medicine and you should discuss the perils and preferences with your PCP.

SIDE EFFECTS OF GEFTINAT TABLET
Moreover, Most outcomes needn’t bother with any clinical thought and disappear as your body adapts to the prescription. Essential manifestations of Geftinat The runs Dry skin Loss of desiring Nausea Rash Stomatitis (Bothering of the mouth) Heaving Inadequacy Weight decrease

HOW TO USE GEFTINAT TABLET
Most importantly, Take this medicine in the bit and term as incited by your essential consideration doctor. Swallow down it as a whole. Make an effort not to nibble, squash, or break it.

HOW GEFTINAT TABLET WORKS
Geftinat 250mg Tablet is an adversary of danger solution. It works by discouraging the movement of the unusual protein that signals danger cells to copy. Moreover, This helps with ending or moderate the spread of threatening development cells.

Disclaimer
If you are looking for the best place to buy Gefitinib 250mg online, Asmointernational is the place for you. You can be sure of what you are buying from us as we are recognized as one of the best wholesale pharmacies and we have people buying different types of products including this one from all over the world. Moreover, You will find that our Gefitinib 250mg price is one of the most reasonable you can get anywhere in the world. Asmointernational is a leading wholesale supplier and exporter to China, Russia, the USA, UK, Philippines, Singapore, Thailand from India. We are consistently working towards improving the lives of people with complex conditions and chronic ailments by supplying generic drugs or ethical drugs at affordable prices. Hence, If you wish to order medicine online from India at an affordable price, you can call us at +91-7011394182 or email at [email protected]

Ayurvedic Supplements To Boost Immunity And Reduce Frequency Of Common Cold

Body has a defense mechanism which protects one from virus, bacteria attack and infections. Those who eat healthy and do regular exercise have strong immunity. Nutrient deficiency lowers down antibody production by body cells. Immunity becomes weak in the following conditions:

1. Those who eat sugary foods a lot not only gain weight but sugar also hamper the ability of white blood cells to fight bacteria for the next few hours.
2. Not drinking enough water creates less urine and it is necessary to produce urine in optimum amount as toxins flush out of body with urine only. Presence of toxins in body also create problem in overcoming illnesses.
3. Increase in weight causes hormone imbalance and inflammation which impair the ability of immune system to fight infections.
4. Dryness in nose allows virus to enter in body easily without getting trapped in mucus in nose.
5. Stress and tension for long time weaken the response of immune system.

One can use Imutol capsules which are powerful ayurvedic supplements to boost immunity. These supplements provide vital nutrients which are essential for running functions of body. This also helps one to overcome various deficiencies which affect the defense mechanism of body. These supplements improve absorption and metabolism of nutrients in order to supply energy to body cells which produce antigens and develop muscles. With increase in blood circulation, production of antibodies increases. Frequency of illness reduces which prevent fluctuations in healthy growth of a person. These supplements improve functions of spleen, tonsils, lymph nodes and bone marrow which are involved in maintaining defense mechanism of body.

One also gets relief from weakness that happens when one falls sick. Also, regeneration of cells and tissues get speed up which help in fast healing of wounds, cuts, injuries, etc. One also gets protection from toxins and free radicals which cause cellular damage. Bowel movements become regular with which toxins from body are excreted regularly and this is also supportive in increasing immunity of body.

These ayurvedic supplements to boost immunity contain the following herbs:

1. Tulsi – It contains antioxidants and vitamins which improve respiratory system, fight infections and pathogens and detoxify body in order to balance various body functions. It also helps to reduce frequency of common cold naturally.
2. Kutki – This herb purifies blood, enhances cellular growth, speeds up tissue regeneration and keeps body organs healthy. This herb is an antibiotic which possesses anti-bacterial, anti-microbial and anti-inflammatory properties.
3. Shatavari – It promotes overall well being and health. It also provides nourishment to brain cells and helps to produce a fluid that supports brain to govern body functions. Hence it is included in making ayurvedic supplements to boost immunity.
4. Abhrak bhasma – This herb increases red blood cell count and oxygen carrying capacity of RBC’s. It is an excellent nerve tonic and cellular regenerator.
5. Chitrak – It improves metabolism and this produces more energy for brain cells. It improves antioxidant action and this prevents damage to brain cells from free radicals and toxins.
6. Suvarna bhasma – This ingredient nourishes neurons and increases brain power.
7. Kesar – It promotes overall well-being of a person and its active components prevent effects of free radicals in body.
8. Anantmula – It treats disorders related with gas, heat and metabolism in body.

These herbs are mixed with extracts of Haridra, Daruharidra and Nimba to produce Imutol capsules which are effective ayurvedic supplements to boost immunity. Use these ayurvedic supplements for 3 to 4 months regularly to achieve long lasting results.