in my database haveing 3X3 (manas having 3 rows 3 colums) i
want to test only (2nd row 3colum) bit how to test either
script or any automation plz explain? (Chandana)
Answer Posted / manjunatha
ple try this.
set c=createobject("ADODB.connection")
c.open "name of DB"
set r=a.execute("select * from emp(table name))
for i=0 to r.fields.count-1
print r(i).value 'r(6) for 3x3 matrix hard coded value
next
c.close
Name:Manjunatha.H
My no:8970870702
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to use descriptive programming?
Define Error Pane of UFT?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
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
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
What is output value? How many types of output values are there in qtp?
how to know no.of mails in our g mail by using vb-script
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What do you mean by checkpoints in qtp?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
what is profile tool?
How do you convert manual test cases to automated test cases?
How to customize qtp?