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
When should I use smart identification?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How does QTP identify an object?
What is throw object?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
What is ObjectParamater?
Your roles and responsibilities and daily tasks? (As automation tester)
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
What is an expert view and keyword view?
Explain the parameter in qtp?
what is the difference between built-i function and In-built function?
How to use conditional loops in qtp ?
Why we load add-ins in qtp?
Why do we use breakpoints in QTP?
Is it possible to call win runner script in qtp?