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 |
Give the syntax to import/export xls into qtp.
How will you handle java tree in qtp?
how to identify the objects if application consists of objects that have same properties.
what is the script for keyword driven framework in real time?plz its urgent
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How many function you use in your application?
What are the different kinds of test steps?
difference Between Call Run action and copy of action?
what is Automation frame work and how do u used this for your project?
How to capture screen shots when an error occurs?
What is the difference between per-action and shared?
1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.