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 |
In a web site, Protocal has been changed http: to https: what is your approach?
What is keyword view and Expert view in QTP?
How can we upload pdf files in qtp?
what is Synchronization point in QTP?Can anybody give a perfect example on it Thanks in advance
How will you compare keyword and expert view?
If some requirements r changed during the testing process ,then how can u handle this in frame work?
What is a runtime datatable ?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
What exactly is the difference among all the three recording modes.
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
What is the Dynamic Scenario in QTP? And also anybody give the example for this?
how you test broken link using the automated tool QTP ?