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 |
What type of VB script u had done in expert view?
What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
what is defination of regression testing?
What is qtpro? What is quick test pro?
When i used this below script to insert value in the Datatable... At run time it was inserting the given value in the specified column, But after execution all those inserted values were cleared automatically... datatable("column name",sheetid)=value
what is the command (keyboard command) to swith from expert view to key word view
why text area checkpoints cannot used for web applications
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
How to Analyze the Checpoint results by Standard Checpoint?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot