can u write Script to do Data Driven Testing throuh
Externel & internel XL Sheet

Answers were Sorted based on User's Feedback



can u write Script to do Data Driven Testing throuh Externel & internel XL Sheet..

Answer / rohit sharma

Ya, we can do it..

Following are the commands you can use to add, import,
export sheet to QTP.


datatable.AddSheet(sheet)
datatable.ExportSheet(filename, sourcesheet)
datatable.ImportSheet(filename, sourcesheet, destinationsheet)



Rohit Sharma
er.s.rohit@gmail.com

Is This Answer Correct ?    2 Yes 1 No

can u write Script to do Data Driven Testing throuh Externel & internel XL Sheet..

Answer / ak

can you provide a brief example.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer

2 Answers   IBM,


Explain QTP Testing process ?

13 Answers   TCS,


i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0

1 Answers  


How the exception handling can be done using quicktest professional (qtp)?

0 Answers  


what is the process to follow between writing the test cases & then atomating it?

1 Answers  






any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt

1 Answers  


I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?

2 Answers  


why do we use both location and index identifier.

2 Answers   Polaris,


Is qtp supports uni-code?

0 Answers  


what's the difference in between function and sub and give some code as well

3 Answers   Patni,


Is there is any method how to connect remote desk throw QTP if yes please answer with a example?

3 Answers   HP,


How to attach a file to TD?

0 Answers  


Categories