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
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
Can we write winrunner language i.e TSL in QTP tool?
How to customize qtp?
What are the major/ important methods, functions in QTP we use realtime testing
How to data driven test for Win objects in QTP ?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What is the difference between a Function and Action in QTP?
What is use of object spy?
Mention the different actions types of qtp.
Which recording modes need more memory?
In qtp, explain what is crypt object
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?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?