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
In qtp, how you can exit for loop?
Through array we can execute the testcase how ? give me example
Explain about datafile/verification of date file when file is not available in local system?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How to test fly out menu in qtp?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
How many types of object repository in qtp?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
assume i have few url link how will i dynamically call then using descriptive programming?
How to handle Java tree in QTP?
What is Cross browser testing? Does UFT support it?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
How many tabs are available to view your test in a test pane and what are they?