The blog gives you idea of testing and automation testing example of selenium webdriver,SQl and Jmeter, you see the basic example of selenium web driver and get idea how to do automation testing,

HIghlight Command in selenium IDE

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 :
highlight(locator)
Arguments:
Briefly changes the backgroundColor of the specified element yellow. Useful for debugging.
-------------------------------------------------------------------------------------------------------

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 Gmail
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

Powered by Blogger.