How to display the first 3 letters in these "ABCDEFGH" using
qtp script?

Answer Posted / tvs ramakrishna chowdary

'every thing is correct up to query passing
'after that follow below code
rs.open "select column_name1 from table",conn
do while not rs.EOF
msgbox rs.fields(0)'here column count stards form 0
(or)
msgbox rs.fields("column_name1")'instead of column no we
can use column name also
next

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the qtp test phases.

604


How to handle the exceptions using the recovery scenario manager in qtp?

557


How to use conditional loops in qtp ?

570


your coming from electrical backgroung..but y ur coming to software side?

1372


How does you test a weblink which is changing dynamically?

543






How to execute a winrunner script in quicktest professional (qtp)?

506


What is keyword view?

553


Explain how you can find the absolute value of the number in qtp?

634


What are the types of object repositories? Which one is you using?

609


What are the common defects found in your project? (in qtp interview)

1604


How can i initiate the objects to find uniquely in OR

1451


What are the views available in qtp?

571


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1358


In qtp, how you can remove the spaces from string?

536


How many types of status are there?

576