If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...

Answer Posted / sunita

set obj=description.create()
obj(micclass).value="webcheckbox"
set checkboxobj=Browser("micclass:=Browser").page("micclass:=page").childobject("obj")
msgbox checkboxobj.count
checkboxobj(i).set "on"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we analyze the checkpoint results?

683


Explain the concept of how quicktest professional identifies object?

619


Is it possible to call from one action to another action in qtp?

677


in a web page How to check and display a particular word from a paragraph?

2145


How to create a standard checkpoint ?

642






What is a programmatic description?

687


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2357


What is synchronization point in QTP?

764


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1360


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1631


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1552


In qtp, explain what is keyword driven automation framework?

700


What is contained in the object repository?

701


What is the difference between a Function and Action in QTP?

701


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

1637