Fire Bug Installation steps in Selenium

Ratings:
(4)
Views:0
Banner-Img
  • Share this blog:

 

2open launch  Firefox & open below URL

HTTP://addons.mozina.org /in.as /Firefox  /add on/ firebug/

2click on add to Firefox àclick on instance now

2Right click on field (or)element then click on inspect element with firebug ,take either ID(or)name from the highlighted section.

Note:-To work on any application we need to create the default selenium object as below

Default selenium =new default selenium(“”local host”,1234,” “* firefox”,”http:””)

2In the above object we need pass &parameters

1) Localhost:-It is the machine name on which scenario will execute the selenium server needs to be configured here

2)1234:-It is the port number on which selenium is running

3) firefox:-It is the command to launch the Firefox browser

4) HTTP:-It is the protocol .we can provide the URL also here.

2Write a program to login to mail.in.com by using the prediction –Jan30selenium&selenium?

Note:-Its id name is not available or not working then we can go for css[cancadestyleshort]. It is a combination of games. class name.

Syntax:-css=tagname.class name

Ex:-css=input.signin

Note:-To launch toper IE use the command *ienta in default selenium object.

Inclined to build a profession as Selenium Developer? Then here is the blog post on 
Selenium Training in Hyderabad.

If IE is not lunching opening then do below setting open IEàGo to toolsàclick in internet option

2security

3

Unhandled the box enable protected mode

3

Above some on  1)internet

2)local internet

3)trusted sites

4)restricted sites|

3

click  apply

3

click ok in varing nums

3

Click ok

Package seleniumRC;

Impostcom.thoughwork.selenium-defaultselenium;

Public class mail-login{

Public static void main( string [] args){

//to do auto-generated method stub

Defaultselenium.selenium=new defaultselenium(“localhost”,1234,”*ient.a”,”http:”)

Selenium.start();

Selenium.open(“/”);

Selenium.windowmaximize();

Selenium.type(“f-id”,”jar IDselenium”)

Selenium.type(“f-pwd”,”selenium”);

Selenium.click(“css=input.signin”);

}

}

Check out the top Selenium Interview Questions now!

2write a program to login into gmail.com by using the creditial jarID selenium&selenium?

Defaultselenium.selenium=new defaultselenium(“localhost”,1234,”*ienta”,”http:”)

Selenium.start();

Selenium.open(http://gmail.com);

Selenium.windowmaximize();

Selenium.type(“email”,”jaridselenium”)

Selenium.type(“pwd”,”selenium”);

Selenium.click(“sign”)

Note:-when ever the eclipse is throwing the error like words not contact the selenium server.it means the server was stopped we need to short the selenium server by clicking on the external tool button.

For an In-depth knowledge on Selenium, click on below

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox