adspace


For example one window is there the window contain some of
Check boxes but my question is how many check boxes are
there particular window?

Please solve the problem
gi_raju@rediffmail.com
ippaliraju@yahoo.co.in

Answer Posted / nanda

set objcheckbox = description.create

objcheckbox("class name").value = "WinCheckbox"
objcheckbox("nativeclass").value = "Button"

set get_checkbox = window("XXXX").childobjects(objcheckbox)

count_checkbox = get_checkbox.count

'msgbox count_checkbox

if u want to know the name of each and every checkbox..

for i = 0 to count_checkbox-1

check_name = get_checkbox(i).getROProperty("text")
msgbox check_name

next

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, how can we check or avoid the memory leakage in QTP9.2?

2168


Tell some commonly used Excel VBA functions?

1133


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

2076


How can you identify the browser and its information using QTP script?

1086


what type of framework u r using in ur organization

2149


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2168


Define Environment Variable in UFT and its uses?

1145


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

2017


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2151


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1864


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1869


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

1301


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2561


What is the registration process and examination fees?

1165


what kind of frame work you used in your last project?

2414