in qtp 3 sheets is there in data table like global, action1,
action2. I want to check the rows and columns in action2.
how can check using script?
Answers were Sorted based on User's Feedback
Answer / prasad reddy
Hi you can check the values by mentioning the sheet name
and column name
EX:Datatable.Value("ColName","SheetName").
Thanks,
Prasad
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / kashinath hajare
Please check the following to check the rows and columns in
action2 or sheet2.
iTotalRowCount=DataTable.GetSheet("Sheet2").GetRowCount
For iCounter=1 to iTotalRowCount
DataTable.GetSheet("Sheet2").SetCurrentRow iCounter
value1=trim(DataTable.Value("value1","Sheet2"))
value2=trim(DataTable.Value("value2", "Sheet2"))
Next
| Is This Answer Correct ? | 5 Yes | 0 No |
To which environments does quicktest professional supports?
If object is not recognized by qtp but the object is standard object what is your approach?
What Folder Structure following in Keyword Driven Frame work?
interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?
What is object spy in quicktest professional?
Problem with XML checkpoint in QTP ?
In how may ways we can use checkpoints to an application using QTP?
How many tables r created during the recording in QTP?
What is environment variable in qtp and why to use it?
hi friends can any one provide me the project in qtp because i have to attend to interview within one week atleast you provide the website address which provide the qtp projects
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties
If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?