|
INTERVIEW QUESTIONS
TESTING
SILK TEST
DETAILS
Question: What are the functions offered by DBTester?
Answer: DB_Connect: Opens a database connection linking the data through the specified OBDC DSN name. DB_Connect returns a connection handle which can be used on other DBTester functions. SQL statements can be submitted to the database. For example: con = DB_Connect("dsn=dsn_name") DB_Disconnect: Closes the database connection represented by the speficied connection handle. All resources related to this connect are also released. For example: DB_Disconnect(con) DB_ExecuteSql: Sends the specified SQL statement to the specified database connection for execution. DB_ExecuteSql returns a query result handler which can be used by the DB_FetchNext function. For example: res = DB_ExecuteSql(con, "SELECT * FROM ...") DB_FetchNext: Retrieves the next row from the specified query result handler. For example: DB_FetchNext(res, col1, col2, col3, ...) DB_FetchPrevious: Retrieves the previous row from the specified query result handler. DB_FinishSql: Closes the specified query result handler. For example: DB_FinishSql(res)
|
|
|
Category |
Silk Test Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8720 users |
Added on |
2/16/2013 |
Views |
69723 |
Rate it! |
|
|
Question:
What are the functions offered by DBTester?
Answer:
DB_Connect: Opens a database connection linking the data through the specified OBDC DSN name. DB_Connect returns a connection handle which can be used on other DBTester functions. SQL statements can be submitted to the database. For example: con = DB_Connect("dsn=dsn_name") DB_Disconnect: Closes the database connection represented by the speficied connection handle. All resources related to this connect are also released. For example: DB_Disconnect(con) DB_ExecuteSql: Sends the specified SQL statement to the specified database connection for execution. DB_ExecuteSql returns a query result handler which can be used by the DB_FetchNext function. For example: res = DB_ExecuteSql(con, "SELECT * FROM ...") DB_FetchNext: Retrieves the next row from the specified query result handler. For example: DB_FetchNext(res, col1, col2, col3, ...) DB_FetchPrevious: Retrieves the previous row from the specified query result handler. DB_FinishSql: Closes the specified query result handler. For example: DB_FinishSql(res) Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How to link an error in the result file to the script file?
|
View Answer
|
|
How to maintain global variable when script is run thru test plans?
|
View Answer
|
|
How to define an object verification in a test case?
|
View Answer
|
|
How to hide all the comments from a script if required?
|
View Answer
|
|
How to record a test case?
|
View Answer
|
|
What is the standard flow of execution of a test case?
|
View Answer
|
|
What is DefaultBaseState?
|
View Answer
|
|
How to add objects of other pages to a test frame?
|
View Answer
|
|
What is the syntax of UI object identifier used by DOM extension?
|
View Answer
|
|
How to create a test frame?
|
View Answer
|
|
How to assign attribute values to test cases?
|
View Answer
|
|
How to maintain recovery system?
|
View Answer
|
|
What are the default testplan attributes?
|
View Answer
|
|
What are the types of text lines in a testplan file?
|
View Answer
|
|
What's the best way to create a new test script?
|
View Answer
|
|
What is the difference between software fault and software failure?
|
View Answer
|
|
What is the difference between software fault and software failure?
|
View Answer
|
|
Is There any function for word count of web page is available in the SilkTest??
|
View Answer
|
|
How to create a new SilkTest project?
|
View Answer
|
|
What is SilkTest project?
|
View Answer
|