When i used this below script to insert value in the
Datatable... At run time it was inserting the given value
in the specified column, But after execution all those
inserted values were cleared automatically...

datatable("column name",sheetid)=value



When i used this below script to insert value in the Datatable... At run time it was inserting the..

Answer / uday

Your synax is wrong.

It should be, datatable.value(colId,SheedtId)="Your value"

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,


Hi, Can anyone help me in esimating time for an application using QTP tool.. What factors should be considered while calculating the estimation time for QTP... Thanks in advance... Prasad Gali

3 Answers  


what is meant by source control?

0 Answers   Ordain Solutions,


Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance

2 Answers  


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

0 Answers   Synergy,


If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?

1 Answers   Crea,


What is a quick test professional?

0 Answers  


3. How to handle the exceptions using recovery secnario manager in Qtp?

2 Answers   Wipro,


Suppose there is a bitmap with some text in it how do you write the script to get the text.

2 Answers   BirlaSoft,


How many types of trigger events are there in qtp?

0 Answers  


how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.

2 Answers   Accenture,


Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   ITC Infotech, TCS,


Categories