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...


if there is a web table of having row and colmns.a button is
placed at 2nd row's 3rd column which is worked for both edit
and delete..how to write script for the button to test both
operation on the web table using desriptive programing..
plz help me on script wheather using getroproperty

Q2)what is the command for taking valiue from a web table in qtp

Answers were Sorted based on User's Feedback



if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / ganesh kumar

Using Descriptive Prograaming first identify the Properties
that are unique to recognize the webtable. After use
the 'ChildItem' method of webtable and create a Dynamic
object Model and then use the GetROProperty to fetch the
name of the button placed at 2nnd row and 3rd column.

Ex:
set objButton=Browser().page().frame().webtable().childitem
(2,3,"WebButton",0)
strname=objButton.getroproperty("name")
msgbox strname

The Above code Displays the name of the Button placed at
2nd row and 3rd column

Is This Answer Correct ?    24 Yes 2 No

if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / narendra

Answer for 2nd question is
Browser().page().WebTable.GetCelldata(2,3)

Is This Answer Correct ?    17 Yes 4 No

if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / sada

Using Descriptive Prograaming first identify the Properties
that are unique to recognize the webtable. After use
the 'ChildItem' method of webtable and create a Dynamic
object Model and then use the GetROProperty to fetch the
name of the button placed at 2nnd row and 3rd column.

Is This Answer Correct ?    3 Yes 0 No

if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / saravanaraja

The Below code is working for a Grid that contain Many rows.

Here .* indicate Page Title. Index number indicate 5 th row
Delete Link.

Browser("Title:=.*").Page(("Title:=.*").Link("html id:= ;
Index=4).Click

Is This Answer Correct ?    4 Yes 3 No

if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / naina

Using Descriptive Prograaming first identify the Properties
that are unique to recognize the webtable. After use
the 'ChildItem' method of webtable and create a Dynamic
object Model and then use the GetROProperty to fetch the
name of the button placed at 2nnd row and 3rd column.

Ex:
set objButton=Browser().page().frame().webtable().childitem
(2,3,"WebButton",0)
strname=objButton.getroproperty("name")
msgbox strname
objButton.Set "Example" //For Webedit opertaion
objButton.Click //For Delete opertaion

Is This Answer Correct ?    1 Yes 0 No

if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column wh..

Answer / ashish srivastava

For Ques 1
Browser().page().webtable().childitem
(2,3,"WebButton",0).Click

For Ques 2
strname=Browser().page().webtable().GetCellData(2,3)
msgbox strname

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.

4 Answers   iGate,


I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not

2 Answers   TCS,


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


can u tell me website address of VBscript with examples.

2 Answers  


what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not

5 Answers   Syntel,


How do function returns a value?How can we pass one function value to other function as input

3 Answers  


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

0 Answers   Value Labs,


hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i need to scroll down and up using scroll tab any bodu knows plz help its urjent regards balaji

5 Answers  


How to handle dynamic objects in quicktest professional?

0 Answers  


What environment does qtp run in?

0 Answers  


One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?

6 Answers   Covansys,


What is Environment Variable and when we apply this in QTP?

4 Answers  


Categories