Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is qtpro? What is quick test pro? What is a quick test professional?

1133


when u script reveiwing in which area u more concentrates?

1956


can anyone tell me from where i can download qtp demo or crack version

2057


Analyzing the checpoint results?

1087


how can we do the frame work in qtp

2119


In qtp, explain what is crypt object

1104


if numbers are always changing write a script for that

4290


How can get count of list box?

1210


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2607


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

2161


What are the major/ important methods, functions in QTP we use realtime testing

2855


what are the challenges you have faced while testing web based application using the automation tools ?

1195


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1890


Explain the concept of how quicktest professional (qtp) identifies object?

1060


How qtp recognizes the object?

1274