How to get all the objects count and objects names in
webpage using QTP ?
Answer Posted / chandu
u can count the objects in a webpage by using childobjects
method
set childobjs=Browser("BrowserName").Page
("PageName").childobjects
total=childobjs.count
msgbox total
n i don't know how to get the names...sorry..if u know
plese let me know
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
In qtp, how you can remove the spaces from string?
How can you handle exceptions in qtp?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
How to open a new test using quicktest professional?
How can I check if a environment variable exist or not?
Which environments are supported by hp qtp?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
Mention what are the different types of recording modes in qtp? Which will be used when?
What are the views available in qtp?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
How can i check items sorted or not in a weblist ? Give me the script for this...
why should we give deliver good quality software?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
What are the technologies supported by qtp?