How to Import data from a ".xls" file to Data table during
Runtime.

Answer Posted / giri

datatable.Import("file path")

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

1714


How to execute a winrunner script in quicktest professional (qtp)?

521


What is text check point and text area check point?

610


What is the expert view?

555


Diff b/w test scenario's and test Procedures?

1632






how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1422


What is the difference between run time object and test object in QTP?

566


Explain the difference between data driven testing and parameterization ?

590


Explain the types of properties that quick test learns while recording?

562


How did you use regular expressions in QTP and also in WR?

2165


hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1511


what is the structure for the data driven framework

1484


Explain the new feature of UFT regarding the export of test results?

578


after initiating one project for testing, when exacltly QTP tester role starts?

1401


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1525