1) flush() method is used to write any data to file and Length() method is used to get its length
2) If we are writing in preexisting file then it will be overrided. If we want to append it we neet to give Filewriter(name , true)
3) BufferReader/BufferedWriter is wrapper on FileReader/Writer which helps in transmission of data in packets
4) Assertion.assertAll is written at the end of each soft assert to display failed assertions with reasons
5)Implicit wait works on existance of element while Explicit works on existance of property
6) Type of exceptions in failure of implicit and explicit wait
Implicit wait : No such Element
Explicit Wait : TImeout exception
7) While testing with Selenium,we use setProperty method because the browser doesn’t have a built-in server to run the automation code. In this case, we will need a Chrome/IE/Gecko driver server for communicating your Selenium code to the browser. It allows the selenium code to interact with browser.
2) If we are writing in preexisting file then it will be overrided. If we want to append it we neet to give Filewriter(name , true)
3) BufferReader/BufferedWriter is wrapper on FileReader/Writer which helps in transmission of data in packets
4) Assertion.assertAll is written at the end of each soft assert to display failed assertions with reasons
5)Implicit wait works on existance of element while Explicit works on existance of property
6) Type of exceptions in failure of implicit and explicit wait
Implicit wait : No such Element
Explicit Wait : TImeout exception
7) While testing with Selenium,we use setProperty method because the browser doesn’t have a built-in server to run the automation code. In this case, we will need a Chrome/IE/Gecko driver server for communicating your Selenium code to the browser. It allows the selenium code to interact with browser.
No comments:
Post a Comment