How to add multiple values in rows, under a single column of
a run time datatable?
Answers were Sorted based on User's Feedback
Answer / uday
datatable.GetSheet(1)
For i=1 to 5
datatable.SetCurrentRow(i)
datatable.Value(1,1)=i
Next
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / saff
BY importing the data from external excel sheet
1) first addsheet
2) importheet from excel to the local datatable
datatable.addsheet(tagretsheet)
datatable.importsheet sourcefile,sourcesheet,targetsheet
or else
u can manualy give the values into the shhet
datatable.value(parametername,sheetname)=parametervalue
Is This Answer Correct ? | 5 Yes | 13 No |
What is qtpro?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do
what are all the fileds present in object repository?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
How to record a qtp script ?
How to create scenario selector
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
what is regular expression how will you implement it?
what is delay in QTP?
Where to use function or action?
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail