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
What are the types of data tables in qtp?
What is the limitation to XML Checkpoints?
What is the difference between shared and local object repository?
what is the difference between IE & Netscape in web testing on a log in page
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
Can any suggest me what is exposure testing?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Explain different type of event trigger option.
How many types of Automation frameworks are there in UFT? Describe them.
How can you send user defined messages to test report?
How many types of parameters are available in quicktest professional?
What is the difference between the keyword view and expert view?
Explain about the quicktest professional (qtp) automation object model?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma