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 / murli
get data from excel
n=datatable.usedrange.rows.count
for i= 0 to n
a(i)=workbook.cells(i,1)
x=a(0)
y=a(1)
next
if x=yes then
write script
endif
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the types of object repositories? Which one is you using?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Mention what are the different types of recording modes in qtp? Which will be used when?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
Name the different types of recording modes?
what is run-time data?
What is the difference in testing a client-server application and a web application?
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Through array we can execute the testcase how ? give me example
How to save your test using quicktest professional?
what is output value in QTP and how it can be used in automation testing
In qtp, explain what is crypt object
Explain the benefits of quick test pro(qtp)?
How to replay a script in qtp?
What is the difference between run time object and test object in QTP?