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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sameena
Index is unique to al. obviously through index only.The
third object property is to be changed accordingly to
diffrentiate the object. such as location of the object in
the application or index value of the application or the
tab count of the object. like wise the modification are
done to the object property to show differentiate with
other object,. if iam correct reply me.
| Is This Answer Correct ? | 1 Yes | 1 No |
if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?
What are the types of Object Repositories in QTP?
What are the QTP advantages and disadvantages?
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
What is the use of Debug Viewer?
where did you automate in your project?(please tell me example senarios)
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?
Please explain how to open with notepad of saved html file by right click option using QTP
What is action? How many types of actions are there in qtp?
what is the recovery scenario?
In QTP what is the difference between Step-in, Step-out, Step-over ?