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 RTM (require ment tracebulity marix) fromate?
What are the types of object repositories? Which one is you using?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
What ate the Technologies supported by QTP?
How the exception handling can be done using quicktest professional (qtp)?
How software automation specialist enter steps in the Expert View?
Tell me about qtp?
What is business process testing(bpt) in qtp?
What are the recording modes in qtp?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
what you mean by artifact,milestone...
what is clean sweep?
What is the difference between Keyword Driven test and Data Driven test?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value