write progamming connecting QTP to database sql? this is
question asked by interview? pls any answer this?
Answer Posted / ajit
Dim cn,rs
Set cn = createboject("ADODB.CONNECTION")
Set rs = createobject("ADODB.RECORDSET")
cn.open "DSN=D1"
rs.open "select empno,empname from emp",cn
while
rs.EOF<> TRUE
print rs(empno)&" "rs(empname)
rs.movenext
wend
cn.close
rs.close
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
Whats the realtime QTP testing process
how to find that tools work well with ur existing system?
What is system testing and what are the different types of tests you perform in system testing?
why you have standardized functions? plzzz guys with real time exp. do answer
What is the syntax to call one action in another?
Explain the differences between table and db checkpoints?
can any body give the banking domain concepts/links
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What are the challenges u faced in testing with crm domain? How u overcome with?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
Describe how Smart Identification is used
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
How to Test the mainframe application?
what is the diff b/w assistive and mandatary rules of object repository in QTP???