Write a command for setvalue function in a webedit
Answer Posted / sudha tiwari
To set Value in edit box:
browser("name").Page("name").WebEdit("name").Set "SSSS"
To set the value of the specified property in the test
object description:
browser("name").Page("name").WebEdit
("name").SetTOProperty "propertyname, "value"
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how to prepared for first for the first interview?
what kind of frame work you used in your last project?
How to creating an output value using quicktest professional?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
What environment does qtp run in?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
why should we give deliver good quality software?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Can I change properties of a test object?
Explain about the test fusion report of quicktest professional?
How to analyzing test results using quicktest professional (qtp)?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing