Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi friend
I have query regarding QTP datatable.
I want to insert data in datatable during runtime.

suppose i wrote

datatble.value(1) = "Test data"

so when i run the script it says column(1) doesn't exist.

Then i write something in column A1 manualy and run the
script again.

Now it works fine.

Pls clarify how i can put value in blank cell of datatable.

Answer Posted / sameer

=======
DataTable(ParameterID [, SheetID]) =NewValue This is what
is specified in data table help.

That means you should use:

DataTable.SetCurrentRow(1)
DataTable(1,dtGlobalSheet) = "Test" ...If you are to insert
data in the first row and first column of global sheet.

I am using the same...n it's working..

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is UFT 11.5 version different from UFT 12.0?

1012


How to export quicktest professional (qtp) results to an .xls file?

1101


Why to use descriptive programming?

945


How can you write the scripts that operate on different objects depending on run-time information?

2521


What is checkpoints for qtp?

913


Explain different types of action in qtp?

1037


What is a Patch in QTP?

988


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

2068


Explain data driven framework?

995


How to start recording using quicktest professional?

1104


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

1044


Where we can use the analog mode and where we can use the low – level mode?

940


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2779


What are the differences between quicktest professional (qtp) and winrunner?

993


How to test login module with different username and password by using data driven testing in QTP?

1087