Answer Posted / nagk24
cnt=0
Set d=description.Create
d("micclass").value="WinEdit"
Set a=window("text:=Flight Reservation").ChildObjects(d)
For i=0 to a.count-1
cnt=cnt+1
Next
msgbox cnt
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
In qtp, how you can remove the spaces from string?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
wt is the use of multiple questions in QTP
How would you export a script from one pc to another in qtp?
What is checkpoints for qtp?
what is review
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
what is test scheduleling?
What are private functions in QTP? How they can be called from the function library?
how to test Web application using QTP software
Whether qtp 9.0 supports Test director8.0
How to run a test using quicktest professional (qtp)?