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 the difference between run time object and test object?
How to do call a output parameter from one action to another action??/
Explain runtime dynamic settings?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
How many tabs are available to view your test in a test pane and what are they?
What is parameter in qtp?
What are the different attribute used with regular expression?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
What is the use of text output value in quicktest professional?
how to disable the pop ups through QTP using a script
What does mean by Scope of Automation?n How we defined it?
What is the synchronization point in qtp?
Your roles and responsibilities and daily tasks? (As automation tester)
What are advantages of test automation?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.