how do we know whether all objects are stored in the object
repository or not? how can we know if a particular object
is not stored in the repository?
No Answer is Posted For this Question
Be the First to Post Answer
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
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?
How do u fetch data from a database ?
why use Description programming? what is advantages and disadvantage of this methods?
what is the framework followed by ur company in qtp
What is Descriptive Programing? In which cases, we will go for descriptive programing?
How to use descriptive programming?
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.
Explain script generated at the time of setting runtime property?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is active screen?
How we know the qtp has used the smart identification process for identification of the object.