How to retrive data from a data table which is in 3rd
row,4th column and place it in main script..like retrive
name,date from data table..write script for this.
Answer Posted / nayan
you can try this,
VAR_NAME = DataTable.GetSheet(sheetname).GetParameter
(4).ValueByRow(3)
Hope this work out ...............
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is action? How many types of actions are there in qtp?
How to export quicktest professional results to an .xls file?
How may types of defects identify application or your currently working application?pls give me answer..
images are dynamically changes how to compare two images with out using the bitmap
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
How does qtp identify objects in the application?
What is the use of an object spy tool in qtp?
How can i check items sorted or not in a weblist ? Give me the script for this...
How the exception handling can be done using quicktest professional?
How to find the length of the string in qtp?
How to write business scripts using object repository with different scenarios
With what extension you can save the list of tests in a file to run in test batch runner?
How you can find the absolute value of the number in qtp?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.