What we are looking for is to load properties of object
dynamically as for our application the global repository
will pretty huge. It will be really helpful to us if
something similar to following functions of Winrunner is
available in QTP.
#Define descriptor
auto strDesc;
#set property in the descriptor
Gui_desc_set_attr(strDesc,?Class?,?Edit?);
--- put other properties
#Add Edit box to GUI Map
Gui_add(? ?,strWindowName,strEditboxName,strDesc);
No Answer is Posted For this Question
Be the First to Post Answer
What is iteration? How it is related to Test Results in QTP
3 Answers Virinchi Technologies,
Which scripting language used by QTP?
WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........
How to apporach while starting the automation testing?
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?
what is the difference between development and testing
What is QTP and the use of QTP in TD?
To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0
HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............
How can you find Local Host Name by Using QTP?
Which environments does qtp support?
does test plan is in test strategy or test strategy is in test plan.