Answer Posted / rashmi jaiswal
Set objdesc = Description.Create is used to create an object from which we can get child objects from any page like number of links present in a page or number of browser opened.
Ex:-
Set objdesc = Description.Create
objdesc("micClass").value ="Link"
Set childObj = Browser("Anyproperty").Page("Anyproperty").ChildObjects(objdesc)
print childObj.count will give you number of links present in the page.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How would you export a script from one pc to another in qtp?
What are the trigger events in qtp?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
Explain about the test fusion report of quicktest professional?
Should have experience in framework means?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Can we record using all the modes in a single script? Explanation with example is appreciated
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How to use setroproperty?
What test you perform mostly? Regression or retesting in your testing process?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How you debug your script?
What is the difference between qtp and selenium?