I have a webtable and many objects are embedded in side.(like
buttons,checkboxes etc). How to know how many such objects are
there? what is the class of that objects?

Answer Posted / vikas choubey

through childobjects

str=Browser().page().childobjects
msgbox str.count

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1448


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

532


how to set one column as primary key in QTP and fetch values accordingly

1833


How can the spaces from the string be removed?

599


What are the 2 ways to pass a value to the function?

524






What are the differences between sub procedures and function procedures?

528


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

633


Which operator can be used to do an xor operation in vbscript?

689


What is the technology used by vb script?

548


What are the naming conventions while declaring a variable in the vbscript language?

627


what is the standards used for writing the script in QTP

1897


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1795


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1661


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1624


Explain about adodb.stream class?

602