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
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
When to use shared and local object repository?
Explain the features and benefits of quick test pro(qtp)?
what is supply chain management?
write a script to verify the image path(src property) of the images which are in web pages.
How to data driven test for Win objects in QTP ?
How do we handle run-time errors?
What are the main differences of qtp and win runner?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
Differences between text and test area checkpoints?
Explain the types of properties that quick test learns while recording?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Why qtp always start action1 and does not start action?