write progamming connecting QTP to database sql? this is
question asked by interview? pls any answer this?
Answer Posted / prathyusha
set odb=createobject("adodb.connection")
odb.connectionstring="provider=sqloledb;server=zz;database=xx;user
name=xy;password=as"
(if we want to work with sql database then we can go for sqloledb provider)
odb.open
if odb.state="1" then
msgbox "connected to database"
else
msgbox "not connected to database"
end if
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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.
write script for bitmap image?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
What are the factors on which script execution time is dependent?
When should I use smart identification?
what is description object?
How can you write the scripts that operate on different objects depending on run-time information?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are the major/ important methods, functions in QTP we use realtime testing
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Explain the concept of object repository?