To open the context menu, Start selenium IDE and right-click on any opened firefox browser, you can see the context menu.
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:
Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:
Name | Dates | |
---|---|---|
Selenium Training | Dec 21 to Jan 05 | View Details |
Selenium Training | Dec 24 to Jan 08 | View Details |
Selenium Training | Dec 28 to Jan 12 | View Details |
Selenium Training | Dec 31 to Jan 15 | 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 .