selenium online training from hyderabad|india|

17
SELENIUM O NLINE T RAINING E-Mail : onlinetrainingmaterials@gmail. com Contact No : 7799071404

Upload: subhash-kumar

Post on 13-Feb-2017

28 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Selenium Online Training From Hyderabad|India|

SELENIUM ONLINE

TRAININGE-Mail : [email protected]

Contact No : 7799071404

Page 2: Selenium Online Training From Hyderabad|India|

• Selenium:

• Sudeep Technologies is one of the leading Training company involved in providing DRUPAL ONLINE TRAINING. Our Trainers are expert in providing Online Training with real time experience.

• mostly used open source automation tool mainly used for functional testing. Supports web application & some mobile application.

• (Online Training Materials is one of the top leading SELENIUM Training institute)

Page 3: Selenium Online Training From Hyderabad|India|

Selenium QTP

1.We can run script in multiple browsers useful to check browser compatibility

1.Runs only in IE if we run on other browser again we need to purchase plug in

2. Open source2. License required

3. Only runs on windows, Linux, MAC, unix--- because we are using Java for scripting which is

3.only runs on windows os because it is platform dependent

4. can be written in java net, run by, python 4. written in only vb- script

5. Web base application 5. Web - based, client -server desktop

Page 4: Selenium Online Training From Hyderabad|India|

• Selenium components supports only html

1. Selenium IDE = record and play back tool and fixe fox add -on 2. Selenium RC( remote control) = scripting tool3. Selenium web driver4. Selenium grid = it is a components that is used for executing the scripts that are

written in web - driver and grid parallel and also can execute remotely

Developed by though works in 2006

                     

Page 5: Selenium Online Training From Hyderabad|India|

• Toggle break point is used to set break point so that up to that cmd the test suite will run. That is the test suite runs up to that particular command where we set break point

• Advantages of automation1. Faster2. Reliable3. Repeatable4. Reusable5. Programmable6. Supports data parameterization = to pass the test data through XL or DB

Page 6: Selenium Online Training From Hyderabad|India|

• Features of selenium IDE :1. Easily record the scripts and easily play the scripts • It record page title automatically• It supports auto complete commands• Easily set start & break point (right click on program)• Click on options = format• Extend selenium IDE as per our requirement • Icons in selenium IDE:- default time of "open" end = 30,000ms• Command = action (or) what to do• Target = where to do• Value = input• Log= it displays error, debug, warning

Page 7: Selenium Online Training From Hyderabad|India|

• Reference= it gives the total information

• (SELENIUM real time training with placement assistance institute is provided by Online Training Materials)

• Base (or) relative URL:-• It opens only home page• Absolute URL• It opens entire URL• Command : open• Valu:

Page 8: Selenium Online Training From Hyderabad|India|

• It opens first absolute URL after that it will go for base url

• Identifying objects in the application (Online Training Materials are providing SELENIUM real time training with placement assistance)

• 7 ways to identify objects

1. Using ID2. Using name3. Using identifier4. Using link text

Page 9: Selenium Online Training From Hyderabad|India|

5. By using X path6. Using CSS7. Using DOM

• Tools fire fox = fire bug (add on)• IE = debug bar (add on)

• Chrome = no tools required• Here but• Click install firebug• Firebut1.11.1 for F.F.17

Page 10: Selenium Online Training From Hyderabad|India|

• Add to fire fox• Install now• Restart browser• By using ID• HTML = tag=

• Attribute - properties of tab (name, color, )• Tags stand alone tag +

• It doesn't have parent / root tag• Container tag- ex again contains some child tags init• Container tag contains some set of tag

Page 11: Selenium Online Training From Hyderabad|India|

• ID = ID attribute value• Right click on object• Inspect element with firebug• Copy ID value• Post in IDE at target• Click on find

By using name:-• Name:• Right click on object• Inspect element with firebug• Copy name value

Page 12: Selenium Online Training From Hyderabad|India|

• Paste in target in IDE• Click find• By using identifier:- identifier = name (or) ID attribute value • By using link text• Link = link test• = text link text is the text found with in the anchor tag• By using x path• Using x path we can identify 99,99 objects• //tag name[@unique attribute name = 'value']• X path

Page 13: Selenium Online Training From Hyderabad|India|

• Absolute x path = if we write from root tag to the specified element for identifying related x path = we write syntax for only the particular tag for which we need to identify instead of writing from root tag

• Ensure syntax

• // input [ @class = wpp-search -button submit]

• Ex 1 = //input [@ value = 'search'

• Ex 2 = //input [@ ID ='q' or id=q

• Ex 3 = //span [ @ class = 'gbts] kspm class = "g bts" > g mail

Page 14: Selenium Online Training From Hyderabad|India|

• 2 parent tag is used to identify when there is no unique attributes in child tag

• //p tag name [@ p unique attribute name = 'p value'] / child tag name

• Ex // a [ id 'gb-23/span [2]

• Row count is used when there are two same child tag s under parent tag

• Ex // li [ @ class = 'submit']/input

• Ex // div [@ id = 'form']/ form/ ul li [5] /input

Page 15: Selenium Online Training From Hyderabad|India|

• X path position • There is no standard syntax• <ol>• <li>• <li>• <li>• <a>• <spon>• <spon>• Ex // li [8 ] a/ span [2]• Ex //div span /a• If we want to locate any element in • Particular position then we go for

Page 16: Selenium Online Training From Hyderabad|India|

•Contact us :

•Ph: 9700042555, 7799071404

•Address: 74-15-4, 3rd floor, Swarna plaza, Auto Nagar, Terminal, Krishna Nagar, Vijayawada-520007

•Website URL: http://www.onlinetrainingmaterials.com/courses/software-t

esting/selenium-online-training/119/page2

Page 17: Selenium Online Training From Hyderabad|India|

THANK YOU