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 you are using descriptive programming and you have two
objects with the same name, so you are identiying them by
name and index, how can you avoid errors if a third object
with the same name is added at the begining of the page?

Answer Posted / litan

Normally like this Scenario we are not going for
Index.Instead of Index you can use Properties like
innertext with regular expression.
lstrGetcelldata=Browser("micclass:=Browser").Page
("micclass:=Page").WebTable("html
tag:=TABLE","Index:=6").GetCellData(2,2)
lstrCellData=Browser("micclass:=Browser").Page
("micclass:=Page").WebTable("innertext:=Custom
Parameters.*").GetCellData(lintCounter,1)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to associate function library at a run time?

1090


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

6150


Explain the use of action split in qtp?

1059


What is the pros and cons between QTP and Rational Robot

3733


regular expression in qtp standar check point for months from accepting months from january to december only

1852


Explain how qtp identifies object?

1035


Hai anyone please "Explain about Framework in QTP?"

2119


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1796


Differences between quicktest professional (qtp) and winrunner?

1120


Explain about datafile/verification of date file when file is not available in local system?

2680


What is the purpose of loading qtp add-ins?

1107


What is a recovery scenario?

1095


What are the advantages of qtp?

973


How to test background color and dynamic images during run time can you put the check point for moving objects?

1874


What are the differences between quicktest professional and winrunner?

955