I want different types of discriptive programming statments
coded for different types of web-objects?Give syntax and
example?
Answer Posted / 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 |
Post New Answer View All Answers
What is QTP and the use of QTP in TD?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
how to find that tools work well with your existing system?
How to use output values in qtp ?
What is the registration process and examination fees?
What is the process of synchronizing qtp and aut?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is a checkpoint? How many check points are there in qtp?
Mention what are the different types of recording modes in qtp? Which will be used when?
Explain runtime dynamic settings?
what you mean by artifact,milestone...
Do you know how to connect database? Can you tell me the procedures?