how to add a runtime parameter to a data sheet?

Answer Posted / raja83

hi i am not understanding your question clearly

1)you can pass datasheet value to test during run time
DataTable.SetCurrentRow(1)
var= Datatable.Value("Column Name","Sheet name")

2) you can write value to datasheet during run time
DataTable.SetCurrentRow(2)
Datatable.Value("Column Name","Sheet name") = Value

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

1681


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1527


What are the features supported by UFT?

661


How is UFT 11.5 version different from UFT 12.0?

602


what is clean sweep?

1509






What is synchronization? What are the ways you can synchronize?

644


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1635


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2783


How many lines of code in each script of QTP?

4030


Where we use data driver in qtp?

601


What are the general steps involved in the data driven framework?

549


Through array we can execute the testcase how ? give me example

1393


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); }

1681


How to create runtime property for an object?

1442


what is clean sweep?

1877