How to use Highlight Command in Selenium IDE & what is the use of Highlight command in Selenium IDE is describe Below.
Highlight command is used to Highlight any header, content, data, button and checkbox on the web page, it is very useful because highlight command shows you that what is the next step is executed by the selenium ide when test case is runned BY selenium ide.
Example of highlight command is given below, when we use hight command, it highlight the header, content, data, button and checkbox with Yellow colour as displayed in below image.
In selenium ide we have to command Highlight and highlightAndWait both are similar same but highlightAndWait use when we have to hight some content then we have to wait for page load.
when we clicked on highlight and highlightAndWait command in selenium IDE it show you how to use in below Refernece panel,
Example :
Command Target Value
open https://accounts.google.com/ServiceLogin?
service=mail&continue
=https://mail.google.com/mail/
highlight css=h2.hidden-small Sign in to continue to GmailHighlight command is used to Highlight any header, content, data, button and checkbox on the web page, it is very useful because highlight command shows you that what is the next step is executed by the selenium ide when test case is runned BY selenium ide.
Example of highlight command is given below, when we use hight command, it highlight the header, content, data, button and checkbox with Yellow colour as displayed in below image.
In selenium ide we have to command Highlight and highlightAndWait both are similar same but highlightAndWait use when we have to hight some content then we have to wait for page load.
when we clicked on highlight and highlightAndWait command in selenium IDE it show you how to use in below Refernece panel,
Example :
- highlight(locator)
- Arguments:
- locator - an element locator
Command Target Value
open https://accounts.google.com/ServiceLogin?
service=mail&continue
=https://mail.google.com/mail/
verifyText css=h2.hidden-small Sign in to continue to Gmail
highlight css=h1 One account. All of Google.
verifyText css=h1 One account. All of Google.
highlight id=signIn
verifyText id=signIn
Below is the example of highlight command which is excuted by Selenium ide
No comments
Post a Comment