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
Answer Posted / saravanaraja
This Code is working Perfect:
Set desc=Description.Create()
desc("micclass").Value="WebEdit"
Set Edit=Browser("Title:=.*").Page("Title:=.*").ChildObjects
(desc)
msgbox Edit.Count
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How may types of defects identify application or your currently working application?pls give me answer..
How to explain a banking project in interview as a test engineer???
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
What are the advantages of a Hybrid framework?
unique properties of button,edit box, radio button,check box?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
What is the significance of “action 0” in qtp?
Explain the difference between data driven testing and parameterization ?
How to use reporter.report event in qtp ?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
How will you check that your test cases covered all the requirements?
How to customize qtp?
when u script reveiwing in which area u more concentrates?