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
Explain the differences between table and db checkpoints?
What is the basic concept of qtp?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
What is the difference between local and shared object repository in qtp?
What is the keyword view and expert view in qtp?
How can you pass value one action to another action?
What is recovery scenario manager? When you go for recovery scenario manager?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How software automation specialist enter steps in the Expert View?
How is the Bitmap checkpoint different from Image checkpoint?
Where to use function or action?
Explain the difference between data driven testing and parameterization ?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
is there any addin for remedy user application
how to test use the quality control .how to verify the image verification