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 do you to script when objects are removed from application?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
Analyzing the checpoint results?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
What is checkpoints for quicktest professional?
How many types of parameters are available in quicktest professional?
How to find the path of folder in which the test is saved in qtp?
How can i check items sorted or not in a weblist ? Give me the script for this...
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
What is the basic concept of quicktest professional?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
Your roles and responsibilities and daily tasks? (As automation tester)
What is the diff between image and bitmap check point?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail