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

What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1500


How to capture all the data of a webtable, weblist and combolist using QTP?

2850


What is the standard timing delay for web based application in qtp?

583


What is difference between design time and run time data table?

585


They asked by using qtp recording writing scripting

2069






how to test Web application using QTP software

1330


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

617


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1549


Explain the features of quick test pro(qtp)?

569


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1730


How to release all resources file from the QTP?

1050


Explain the use of action split in qtp?

560


can u explain relative path architecture framework in qtp?

1559


How to run a test using quicktest professional?

525


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1494