Selenium Online Training From India|USA|UK|
-
Upload
subhash-kumar -
Category
Education
-
view
116 -
download
3
Transcript of Selenium Online Training From India|USA|UK|
ONLINE TRAINING MATERIALS74-15-4, 3rd floor, Swarna Plaza, opp Auto Nagar, Terminal, Krishna Nagar,
Vijayawada-520007
Ph: 7569397388, 7799071404, 9700042555, www.onlinetrainingmaterials.com
SELENIUM ONLINE TRAINING COURSE CONTENT
QUALITY TRAINING AT ONLINE TRAINING MATERIALS.
ONLINE TRAINING MATERIALS is one of the leading Training Company involved in providing SELENIUM ONLINE TRAINING. Our Trainers are expert in providing Online Training with real time experience. Demo at free of cost.
Selenium: -
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)
Selenium components supports only html
1. Selenium IDE = record and play back tool and fixe fox add -on
2. Selenium RC (remote control) = scripting tool
3. Selenium web driver
4. 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
Ctrl+alt+s
View selenium IDE
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
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 source 2. 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
Advantages of automation
1. Faster
2. Reliable
3. Repeatable
4. Reusable
5. Programmable
6. Supports data parameterization = to pass the test data through XL or DB
7. 24*7 environment
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
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:
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 ID
2. Using name
3. Using identifier
4. Using link text
5. By using X path
6. Using CSS
7. 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
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
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
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 within the anchor tag
By using x path
Using x path we can identify 99, 99 objects
//tag name[@unique attribute name = 'value']
X path
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
2 parent tags 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
Right click = show all available commands = asset elements present on particular elements
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 goes for
X path position
We must not use style attribute because style attribute changes from one browser to another browser
Ex; - //img[@alt='login']x ido it doesn't identify because it has same attribute for another element also
Email: [email protected]
ONLINE TRAINING MATERIALS
74-15-4, 3rd floor, Swarna Plaza, opp Auto Nagar, Terminal, Krishna Nagar,
Vijayawada-520007
Ph: 7569397388, 7799071404, 9700042555, www.onlinetrainingmaterials.com