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
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What is difference in global and action sheet in qtp?
Will down time for server and content maintenance/upgrades be allowed? how much?
Without using gui map editor we can recognize the application in winrunner ?
Why do we use breakpoints in QTP?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
How to handle dynamic objects in quicktest professional?
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!!!
How to replay a script in qtp?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is the difference between qtp and selenium?
How would you directly trigger javascript in a test?
images are dynamically changes how to compare two images with out using the bitmap
What are the different types of recording modes in qtp? Which will be used when?
How software automation specialist enter steps in the Expert View?