How can you mark a test case as failed by using soft assertion?
Answer / Anisha
To mark a test case as failed using Soft Assertion, you need to call the 'assert' function with a condition that is expected to be false. If the condition is true, it will not throw an exception, but the test result will indicate that the assertion has been violated.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between getwindowhandles() and getwindowhandle()?
What are the annotations used in testng?
What are the features of selenium ide ?
What is parameterization in testng?
How to scroll web page down or up using selenium webdriver?
How do you attach File on a page?
How will you handle working with multiple windows in selenium?
What are junit annotations?
Mention why to choose python over java in selenium?
Can you run the tests registered with Selenium IDE in other browsers?
Hi can anyone suggest me what type of non technical questions asked in interview for experienced people, I am trying to get job with fake experience can anyone help me please
What are the challenges in handling ajax call in selenium webdriver?