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.
Answers were Sorted based on User's Feedback
Answer / sushil
'set the current row to 2nd
DataTable.SetCurrentRow (2)
'get the value of 3rd coloumn of 1st sheet.
abc = Datatable.value(3,1)
this code is working fine, i have checked.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / 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 |
Answer / deepika
Hi... U can try this,its working....
Set T=DataTable.GetSheet(1).GetParameter(3)
DataTable.GetRowCount
R=DataTable.GlobalSheet.SetCurrentRow(3)
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / deepika
Set T=DataTable.GetSheet(1).GetParameter(4)
'n=DataTable.GetRowCount
DataTable.GetRowCount
'For i=1 to n
R=DataTable.GlobalSheet.SetCurrentRow(3)
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ravikumar
set datatable to 2nd row
datatable.setcurrentrow(2)
dim abc
need to get data from the sheet
abc=datatable.value(3,1)
sure thiscode will work fine
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / deepika
Hi... if it is 4th column then GetParameter(4).Try this..
Set T=DataTable.GetSheet(1).GetParameter(4)
DataTable.GetRowCount
R=DataTable.GlobalSheet.SetCurrentRow(3)
| Is This Answer Correct ? | 1 Yes | 2 No |
Hi,
Try this
Datatable.SetCurrentRow 3
val = Datatable.Value(4)
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / shweta gupta
U can try this...
datatable.Setcurrentrow(3)
a=datatable("<4th Column Name>", dtglobalsheet)
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / k.chandra sekhar
My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail
Any doubts call me (ONLY GIRLS)
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / k.chandra sekhar
a) That is the data table (column, sheet)
b) If want script then start record and retrieve the
data table form 3rd row and 4th common then stop the
recording the you get the script that is the scripts
My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in
If any body want full explain send the mail
| Is This Answer Correct ? | 2 Yes | 7 No |
Define object spy ?
One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?
What are the features and benefits of Quick Test Pro(QTP)?
How to call a function in QTP?
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..
What is exact difference between “while” and “do while” in QTP ?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
who QTP recognizes the object stored in object repository?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
How to explain a banking project in interview as a test engineer???
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
what are recovery management techiniques?