To open the context menu, Start selenium IDE and right-click on any opened firefox browser, you can see the context menu.
Assert:
An “assert” will fail the test and abort the current test case
When we assert for an element it will return a Boolean value. True if the pattern matches the text, false otherwise. Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
Verify:
A “verify” will fail the test and continue to run the test case. True if the pattern matches the text, false otherwise. Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
Wait For:
Wait ForCommand will wait until specific time
Without waitFor command:-
With waitFor Command:
Store Element:
To Store Elements or the text on the web page . Sometimes there is a need to store elements that are on the page to be used later in a test. This could be that your test needs to pick a date that is on the page and use it later so that you do not need to hardcode values into your test.
To see how this works, let’s work through the following example:
Name | Dates | |
---|---|---|
Selenium Training | Sep 21 to Oct 06 | View Details |
Selenium Training | Sep 24 to Oct 09 | View Details |
Selenium Training | Sep 28 to Oct 13 | View Details |
Selenium Training | Oct 01 to Oct 16 | View Details |
Madhuri is a Senior Content Creator at MindMajix. She has written about a range of different topics on various technologies, which include, Splunk, Tensorflow, Selenium, and CEH. She spends most of her time researching on technology, and startups. Connect with her via LinkedIn and Twitter .