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
How to attach a file to TD?
who QTP recognizes the object stored in object repository?
How to carry out bit map check points in QTP
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
Explain how qtp identifies object?
What are the different recording modes and how do they work?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is reusable action?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How to customize checkpoints with parameters?
What are the ordinal identifiers in web page?
how can we do the frame work in qtp
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
what is keyword driven testing in qtp?n how is it useful?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS