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 |
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
what is the difference between testing and debugging?
Which property will you use to check the object state? (Exist)
How can i open 5 multiple browser at once through QTP VB script
how can i impliment error handling in QTP?
Suppose there is a bitmap with some text in it how do you write the script to get the text.
what is the difference between window command and dialog command
how to use command prompt using qtp?
Which property do you use to retrieve or assign data into a cell in a Data Table object?
in a web page How to check and display a particular word from a paragraph?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”