I want different types of discriptive programming statments
coded for different types of web-objects?Give syntax and
example?
Answers were Sorted based on User's Feedback
Answer / srikanth
We can do 2types.
i)By creating properites through Description.create
ii) By passing properties through string arguments
i) Dim obj_desc
set obj_desc= Description.create()
obj_desc("class").value="webedit"
obj_desc("name").value="userid"
obj_desc("html tag").value= "input"
obj_desc("visible").value="True"
Browser("browser").Page("page").Webedit
("userid").set "srikanth"
ii) Browser("name:=Welcome to Gmail").Page("name:=Welcome
to Gmail").WebEdit("attachedText:=Userid").set "srikanth"
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ram.polavarapu
->static descriptive scripting
->dynamic scripting
static scripting
------- --------
browser("creation time:=0").page("micclass:=page").webedit
("text:=").set"vgdgv"
dynamic scripting
-------- ---------
dim e
set e=descriptive.create
e("micclass").value="WebEdit"
set a=browser("").page("").childobjects(e)
Is This Answer Correct ? | 0 Yes | 0 No |
What is iteration? How it is related to Test Results in QTP?
How to handle dynamic objects in quicktest professional (qtp)?
wht is the difference between action and functio?
1)how to write test cases in test director? not go throuth requirments and plan but should be different way i need? 2)what is the mediator between qtp and application or project?
What are the types of Object Repository’s in QTP?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
What is the latest version of qtp?
How to Display last item of a Combobox by using QTP?
What are the major/ important methods, functions in QTP we use realtime testing
How do u insert an object during runtime in qtp?
how to parameterise a test with data base table or excel sheet?
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs