can u write one user defined function for webedit class.
Answer Posted / kiran
'Bname -- Browser name
' Pname- Pagename
' EditName---Editboc name
'Edittag--html tag name
'indx-Index of object
'InputVal---inputvalue
Public Sub SetWebEdit
(Bname,Pname,EditName,Edittag,index,InputVal)
If Browser("name:="&Bname).Page("title:="&Pname").WebEdit
("name:="&EditName,"html
tag:="&Edittag,"index:="&indx).exist
Browser("name:="&Bname).Page("title:="&Pname").WebEdit
("name:="&EditName,"html tag:="&Edittag,"index:="&indx).set
InputVal
Reporter.ReportEvent micpass,"The Object is exist and set
value suuccesfully","Pass"
Esle
Reporter.ReportEvent micFail,:the object is not existing
and filled","Fail"
End If
End Sub
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
We stored into the objects OR and then write the scripting
What is the short cut keys for the following?
Whats the realtime QTP testing process
What are the main differences of qtp and win runner?
Can you write a script to check if the folder exists or not?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
Explain about the test fusion report of quicktest professional?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
What is difference in global and action sheet in qtp?
Is qtp supports uni-code?
Brief the process of testing with UFT?
Hi ,Can any one pleas explain how to test splash objects using QTP?
How can I change object description or check point values in qtp?