Give me diffrent script in QTP for Webpage(Java
and .Net),WindowsBased Applications,Java application,.Net
application...
Answers were Sorted based on User's Feedback
Answer / rnashok
VB script is default scripting language for QTP. Since you
mentioned about .net so, you need .net add-in first. You can
use WSH or perl scripts to do the testing as well.
| Is This Answer Correct ? | 1 Yes | 0 No |
i think its vb script for web application and windows
application developed either in .net/java
| Is This Answer Correct ? | 0 Yes | 1 No |
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
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
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?
What are the types of object repositories? Which one is you are using?
Explain how you can delete excel file in qtp?
what is the use of Browser.sync()
Explain object spy in qtp.
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
What does ".mst" stands for? (abc.mst)
suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..
does qtp need record and playback in realtime. plz tell exactly wat happens