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
How to associate function library at a run time?
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
Explain the use of action split in qtp?
What is the pros and cons between QTP and Rational Robot
regular expression in qtp standar check point for months from accepting months from january to december only
Explain how qtp identifies object?
Hai anyone please "Explain about Framework in QTP?"
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
Differences between quicktest professional (qtp) and winrunner?
Explain about datafile/verification of date file when file is not available in local system?
What is the purpose of loading qtp add-ins?
What is a recovery scenario?
What are the advantages of qtp?
How to test background color and dynamic images during run time can you put the check point for moving objects?
What are the differences between quicktest professional and winrunner?