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 |
How many number of actions possible in qtp?
how you test broken link using the automated tool QTP ?
What are the key elements available in test result window?
What is the use of ordinal identifier in qtp?
Which scripting language QTP is using?
What is the Diff between Image check-point and Bit map Check point?
write script to read and write data from file ?
What type of framework you are using in your company and explain it?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
How do you done Data-Driven Testing using MS-Word. What is the script for that
How you automate test scripts