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
How QTP identify the system time that's changes every seconds?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
In qtp, explain what is qrs file?
What is CMMP and CMMH?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
How to recognise the webelement and verifying that webelement is enabled?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
what are the challenges you have faced while testing web based application using the automation tools ?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
tell me abt a time when u had to go above &beyind the call of duty to get the job done
What is the meaning Work bench?
How to build scripts that access data from external sources?
How to test the login page in different ways in automation testing and i need code?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?