How to add Dynamic Objects to Object repository?
Answers were Sorted based on User's Feedback
Answer / anu
Try This:
set BrowserDesc= Description.Create()
BrowserDesc("Class Name") = "Browser"
Dim ObjRep = CreateObject("Mercury.ObjectRepositoryUtil")
ObjRep.load "C:\sampleRep.tsr"
ObjRep.AddObject BrowserDesc,Null,"Browser1"
.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / devi
using SetTo we can only assign dynamic value to the other
object captured from a dynamic object.
| Is This Answer Correct ? | 3 Yes | 2 No |
We can add dynamic object in OR using object prameterization,(affter adding the dynamic object using object spy then change the object property name to class and assign the class name. after adding if it matches more than one object then use index property)
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravichandranath
Setroproperty.
using this we can add dynamic objects in object repository
bye
ravichandranath
| Is This Answer Correct ? | 1 Yes | 10 No |
If already everything is tested using White-Box testing, then what is the need of using Black box testing?
How to connect to a database?
Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close
hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri
Hi all , I have installed the QTP 11.0 Whenever I am opening QTP that time if any open Internet Explorer I was getting message (Internet Explorer has encountered a problem and needs to close. we are sorry for inconvenience caused) and same way new browser also not opening. If you have any idea please let me know.
What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
How u connect bugzilla with QTP
1 Answers Deloitte, TCS, Wipro,
Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance
hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ?
How to find Total no of Text Fields in the Page..Anybody please answer me..Thanks in Advance
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?