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
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
How many number of actions possible in qtp?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
when to start the automation?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Explain the concept of object repository and how quicktest professional recognises objects?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
What is qtp window?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What is the difference between byref and byval in qtp?
Which recording modes need more memory?
What are the data types in qtp?
How to use checkpoints in qtp ?
What is the syntax to call one script from another?