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
what is output value in QTP and how it can be used in automation testing
Have you used xml check point in your project? How?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
How to remove the associated function library?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What is file database?
Give the syntax to import/export xls into qtp.
What is the architecture of your project? Can any one answer for this question plz........
What is the file extension of the code file and object repository file in QTP?
What is the expert view?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How to define array in qtp?
Explain building blocks of the bpt framework ?
Can launch two instances of qtp on the same machine?
What will be happen if i load object repository at run time, but it has already associated.