Selenium WebDriver Commands

Publié le: 22 juillet 2016
sur la chaîne: G C Reddy Software Testing
5,082
49

Selenium WebDriver Commands/Methods and Operations, WebDriver Browser Commands, WebDriver Browser Navigation Methods, WebDriver commands on elements, WebDriver verification commands and other commands. Writing Selenium WebDriver Test Cases using Element Locators and WebDriver Commands.
Important WebDriver Commands and Operations

Selenium WebDriver Browser Commands

1 get
2 getTile
3 getCurrentUrl

Selenium WebDriver Browser Navigation Commands

4 navigate.to
5 navigate.back
6 navigate.forward
7 navigate.refresh
8 close
9 quit

Selenium WebDriver Commands on Elements

10 findElement
11 sendkeys
12 clear
13 click

Selenium WebDriver Verification Commands
14 isDisplayed
15 isEnabled
16 isSelected
----------------------
17 getText
---------------------------------------------
1 get

Description: Opens a specified URL in the Browser window.

2 getTitle

Description: Returns the Browser Title

3 getCurrentUrl

Description: Returns current url of the Browser

4 navigate.to

Description: Loads a new Page in the Browser window

5 navigate.back

Description: Moves a single item back in the Browser history

6 navigate.forward

Description: Moves single item forward in the Browser history

7 navigate.refresh

Description: Refreshes the current web page

8 close

Description: It closes the focused browser

9 quit

Description: Closes all Browsers that opened by WebDriver during execution

10 findElement

Description: Finds the first element within the web page using given locator.

11 sendkeys

Enters a value into Edit box

12 clear

Clears the value from Edit box

13 click

Clicks an Element Click Button, click Link, select Radio button, Select/Unselect check box...

Click Command/Method Operations

i Click a Button
ii Click a Link
iii Select a Radio Button
iv Select a Check box
v Unselect a Check box

14 isDisplayed

Checks if the element is displayed or not? in the current web page.

15 isEnabled

Checks if the element is in Enabled state or not?
Returns boolean / Logical value true/false

16 isSelected

Checks if the Element is selected or not?

17 getText

Returns the specified Element's Text value


Sur cette page du site, vous pouvez voir la vidéo en ligne Selenium WebDriver Commands durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur G C Reddy Software Testing 22 juillet 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,082 fois et il a aimé 49 téléspectateurs. Bon visionnage!