any one could you explain the following code with example:
intFieldItemsCnt =CInt(GetProperty(Browser
("Browsername").Page("Pagename").Weblist
("weblistname"),"items count"))
msgbox intFieldItemsCnt
Answer Posted / uday
First of all, there is no GetProperty method in QTP.
There are getROProperty, GetTOProperty,
the right syntax above is inti=b().p().wl().getROProperty("items count")
which will return no. of items in the weblist
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many types of trigger events are there in qtp?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
What is Distributed testing? How does UFT support it?
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?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
What is synchronization? What are the ways you can synchronize?
What is system testing and what are the different types of tests you perform in system testing?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
Define Error Pane of UFT?
How to find the path of folder in which the test is saved in qtp?
How to get Traceability matrix from TD?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?