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
What is recovery scenario manager? When you go for recovery scenario manager?
How you can make an action as re-usable action?
What is 'sleep' in sync point?
What is output value? How many types of output values are there in qtp?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How will internal and external links be validated and updated? how often?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
Discuss quicktest professional (qtp) environment?
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
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
How to test background color and dynamic images during run time can you put the check point for moving objects?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
can test automation improve test effectiveness?
What are the check points can be inserted without recording?