how we do database testing with qtp using descriptive
programming?
Answers were Sorted based on User's Feedback
Hey guys......sorry if anybody is hurt....even my english
is not that good.....but i was searching for answer and
when i read this, it was frustrating to read .....maybe
Chandra is very good at QTP....mine was just a natural
reaction.........
Sorry Chandra....but answer in such a way that people can
understand
Now all of you please end this and give a correct answer..
Sirisha...has done nice job explaining...
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ritesh
Just looked into the comments posted and found that
visiting this forum is a waste of time where instead of
answers people are busy contradicting each others statements
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / harikrishna
Database testing is all about data validation & data integration.The correctness of new data insertion is called data validation.
The correctness of changes incurred due to insertion of new data from parent table to child tables is called data integrity
All we have to know is DML(select,insert,update,delete) commands in sql to use to dbase testing
ADODB-we use this to connect to any kind of dbase(sql,oracle..etc)
rso(Record set object)-a temp buffer where we use to store for retriving information frm dbase.
here am posting an example hw to connect a dbase and count no.of rows in a table via qtp
Option explicit
Dim cono,rso,n
Set cono=createobject("ADODB.connection")
cono.Open("DSN=hari")
Set rso=createobject("ADODB.recordset")
rso.Open "select * from harikrishnaa",cono
n=0
While rso.EOF<>true
n=n+1
rso.MoveNext
Wend
print "no of rows in record set is"&n
Set rso=nothing
Set cono=nothing
..................i used my own crated DSN.instead you shud use connection strings(which are ready available in google search engine)
HAPPY TESTING ALL.plz write comments as i hav used my time 4 u
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / chandra shekhar
Thanx you Mr. k.chandra sekhar
you halpfool answering was to me...well very done.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / abk
hay guys,
I agree with dinesh.We should encourage Mr. chandra shekhar
instead of finding negative points.He tried to help us. We
all should appreciate him.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raghavendra prasad
Mr. Mukesh, It takes great amount of interest and guts to come out and try to answer a question. I have seen people of other Asian countries speak worse English. If you can't comprehend what he is trying to communicate, ask!!! Respect your country men dude.Being from a country of many languages, English just a common language used to communicate among ourselves. Respect your country men and it will be returned to you. Good luck!!
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raghavendra prasad
Anmol,
Literacy is not in language. Its in the attitude towards people. Other than that humiliating comment of yours i haven't found a single word that answers the question. Shame on you!!!
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / maharshi
any body can suggest how to remove this buttler english
question?
| Is This Answer Correct ? | 7 Yes | 10 No |
Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key
Username field having some string mistake like"user naem".what type of testing i prefer to test spell check.
What is ObjectParamater?
Why qtp always start action1 and does not start action?
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
how to do regression testing in qtp? plz give ans with examples
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
After coming to know that QTP could not identify non-standard objects, we set those non-standard objects as virtual objects using Virtual object wizard. But how can we identify that qtp could not identify non-standard objects?
Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?