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?



I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know..

Answer / vikas choubey

through childobjects

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

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More VB Script Interview Questions

what is the features of visual basic?

0 Answers  


Mention what are the rules to name variable in vbscript?

0 Answers  


What is the scope of a constant declared using public?

0 Answers  


How to create MSAcess table foriegn key

1 Answers  


How to find arry size in qtp vb script

2 Answers   Cap Gemini,


I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 Answers  


Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript

1 Answers  


What is a class in CSS?

1 Answers  


Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its size to 7 elements and then find out which of the elements are prime (use functions)

2 Answers  


What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


how does vb script help in web page designing? explain with example.

0 Answers  


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


Categories