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
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Describe how Smart Identification is used
In qtp, explain what is crypt object
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
What are the differences between quicktest professional (qtp) and winrunner?
How many types of status are there?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
Give me some real time point of way where exactly we can conduct audits?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Mention the different actions types of qtp.
What is test object model in quicktest professional?
If created one virtual object? Next time I changed the window position will it work?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji