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.
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 ForCommand will wait until specific time
Without waitFor command:-
With waitFor Command:
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:
Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!
|Selenium Training||Dec 12 to Dec 27||View Details|
|Selenium Training||Dec 16 to Dec 31||View Details|
|Selenium Training||Dec 19 to Jan 03||View Details|
|Selenium Training||Dec 23 to Jan 07||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 .
Copyright © 2013 - 2023 MindMajix Technologies