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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp?

791


Which scripting language used by quicktest professional (qtp)?

882


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2097


How to use checkpoints in qtp ?

759


how do u plan test automation?

1658


how will load the object during runtime?

1790


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2002


How to open a new test using quicktest professional?

759


Define virtual object?

793


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

1710


Do you know how to connect database? Can you tell me the procedures?

731


What is difference between design time and run time data table?

796


How we can import data from database?

881


what is the difference between development and testing

2893


How to export quicktest professional results to an .xls file?

803