How to get the column count and column name from the
resultset in the database connection program?
Answer Posted / krishnat.qa
we can get the column count by following code
-----------------------------------------------------
set colcoll=rs.fields
colcnt=colcoll.count
for i=0 to colcnt-1
msgbox rs.fields(i).name
rs.movenext
next
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the use of text output value in quicktest professional (qtp)?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
how do u plan test automation?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Have you faced any problems with object repository?
What is post recovery scenario?
What is difference between shared and local object repository?
What is the quicktest professional (qtp) testing process?
Can you write a script to check if the folder exists or not?
In qtp is it possible to check broken links of a page?
What is ObjectParamater?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
What is contained in the object repository?
What do you mean by checkpoints in qtp?