Hi Friends,
I'm new to QTP.
I want to write a function in QTP for below senario.
In an Excel sheet column B, I Have 10 Url/Links, and in
Colum A there is a Flag as Y and N.
My test should run only on those iterations which are
flagged as Y.
Please help, Thanks
Answer Posted / manju
'path of the excel file is - path
'excel file name is abc.xls - columns flag & urlxl
'sheet name of the xl file where the url's are present
is "list"
datatable.addsheet("Urllist")
datatable.importsheet("path abc.exls","list","Urllist")
count=datatable.getsheet("Urllist").getrowcount
for i = 1 to count
datatable.getsheet("Urllist").setcurrentrow(i)
flg=datatable("Flag","Urllist")
if flg='Y' Then
url=datatable("urlxl","Urllist")
systemutil.run("url")
End if
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What are the types of properties that quick test learns while recording?
What are benefits of qtp?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Where we can use the analog mode and where we can use the low – level mode?
Where you are storing your script?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Explain runtime dynamic settings?
Why we load add-ins in qtp?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
What is QTP’s model for test creation?
What are the different types of functions available in qtp and explain ?
What is post recovery scenario?