for example one window is there, the window contains how
many edit box's i want script? i know the script but that is
not exact answer....
The script is like this ..........
set a=description.creation()
a("Native class")="WinEdit"
b=window("Flight Reservation").childobject(a).count
msgbox b
if u found exact answer please getback to me?
raju.ippali@gmail.com
9823257761
Answer Posted / rayudu
Your script is right but need to do some modifications
set a=description.create()
a("micclass").value="WinEdit"
b=window("Flight Reservation").childobjects(a).count
msgbox b
Now you can get the results
Before going to execute you have to add the Flight
reservation Properties to the repository
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
if numbers are always changing write a script for that
How to data driven test for Win objects in QTP ?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How can you write the scripts that operate on different objects depending on run-time information?
Describe function procedure in vbscript.
In qtp, explain what is crypt object
Explain about the quicktest professional (qtp) automation object model?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What is optional step in qtp? How you can add optional step in qtp?
How to find a window is minimized or not
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,