Question:
In QTP is there a way to add objects to the Object Repository during runtime?
Answer:
In Scripting u have to write like:
Dim V1
Set v1= description.create()
v1("Propertyname").value=" " 'Wite a propertyname here like editbox
window("").object("Object Name"). Method(" Method Name like v1"). value Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.
Related Questions
View Answer
If there is game which has 20 levels an expert can only play the game upto 20 levels if i am as a normal person or tester can play the game upto 12th level then how i will test the game upto 20th level. Please guide me
in my interview...I was asked this question - "who fixes the bug finally..the developer or the tester"...my reply was "developer" which he said was wrong. he said it was the tester..could you please explain ur comments??
In my interview, they asked the purpose of Test Approach in Test Plan. I have said it describes what are all the testing methods we have to follow on testing the particular application. But the interviewer said my answer was wrong. Can anyone explain?