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
What are the technics follow in writing VB script?
can i compare two databases using QTP ?
What is a recovery scenario?
Explain QTP using different development techniques ?
what QTP Options do you know?
What is the extension of the recovery scenario file in qtp?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
What is the difference between run time object and test object?
whow much strong on VB and C?
Why is action split used by qtp?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
Is virtual object supported in low level recording mode?