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
Does QTP record on Objects created on XWindows Environment?
What is the use of an object spy tool in qtp?
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
In qtp, how you can use xpath to identify objects?
What is clean sweep?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
What are the Disadvantages of shared object repository?
Are Shared ORs read-only?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
How to use setroproperty?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
What is the pros and cons between QTP and Rational Robot
What is recovery scenario in qtp?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page