![]() Note: Values of EOF and BOF will be false when there are no records in the recordset. If the position of the current record is present after the last record of the recordset, then this property will return true. This is just the reverse of the above one. ![]() If the position of the current record is present before the first record of the recordset, then this property will return true. This property is used to know the position of the current record. The list of its properties is as follows: However, there is a RecordSet Object also (will we discuss it in a while). The above-mentioned ones are the properties of a Connection Object. This provides information about the state of the connection i.e. This property provides all provider-related details i.e. This is used for defining the required time for waiting for a connection to get established. This is a very useful property that is used for creating a database connection and includes connection details like the details of the Driver, Database Server Name, Username, and Password. The list of ADODB Connection Object properties is as follows: There are different properties and methods that support extracting data from the database. Properties and Methods of Connection Objects Now, let’s start with the Properties and Methods that are helpful in establishing a connection with the database. I will try to make you understand all the different codes, properties, and methods that are required to be written to work with the database in an easy manner so that you can easily write a piece of code on your own. ![]() This topic formed the basis of working with the Database and it would be very helpful for you in the long run if you have a better understanding of it. But with the help of ADODB Objects, you can interact with the database and work with the SQL Queries to fetch the data from the database.ĪDO stands for ActiveX Data Objects and this provides the mechanism to act as an intermediary between the QTP and the Database. need to be installed on your computer to work with the Database Connections.Īs such, there is not any straightforward mechanism to get connected to the database in the QTP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |