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
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
What is the difference between a Function and Action in QTP?
What is action split and the purpose of using this in qtp?
What is the new version of qtp which is recently released in the market?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
Define Environment Variable in UFT and its uses?
Problem with XML checkpoint in QTP ?
What the differences are and best practical application of Object Repository?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Can we run test with out adding object in object repository? How it is possible?
How to find the length of the string in qtp?
How may types of defects identify application or your currently working application?pls give me answer..
Explain object spy in qtp.
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Explain quicktest professional (qtp) testing process?