I want to assign values in a table in my software, in first column i will give values, table is of 4x4 i.e 4 row and 4 columns, i m using VBScript in my automation work. it is a simple table for giving values.
Answer Posted / sisira
set wbtable=Browser(“micclass:=Browser”).Page(“micclass:=Page”).WebTable(“name:= TTable")
no_row=wbtable.RowCount
no_columns=wbtable.columnCount
strobjType ="WebEdit"
For introw=1 to no_row-1
For intcol=1 to no_columns-1
Set ChldItm = wbtable.ChildItem(introw,intcol,strobjType ,0)
If ( strobjType ="WebEdit") Then
ChldItm.set "value"& introw&intcol
End If
next
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is qtpro? What is quick test pro? What is a quick test professional?
when u script reveiwing in which area u more concentrates?
can anyone tell me from where i can download qtp demo or crack version
Analyzing the checpoint results?
how can we do the frame work in qtp
In qtp, explain what is crypt object
if numbers are always changing write a script for that
How can get count of list box?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
What are the major/ important methods, functions in QTP we use realtime testing
what are the challenges you have faced while testing web based application using the automation tools ?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Explain the concept of how quicktest professional (qtp) identifies object?
How qtp recognizes the object?