How to do the scripting. Is there any inbuilt functions

in QTP as in QTP-S. Whatz the difference between them? how

to handle script issues?

Answer Posted / sreeprasad

Yes, there's an in-built functionality called "Step

Generator" in Insert->Step->Step Generator -F7, which will

generate the scripts as u enter the appropriate steps.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of object repository?

866


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

2143


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1887


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1641


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

856


How to add verification steps to tests?

9467


can i compare two databases using QTP ?

2179


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6566


How do I get the QTP scripts result in xml format by using vb script function?

2029


How to data driven test for Win objects in QTP ?

1699


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

1738


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1937


How can get count of list box?

875


How many types of status are there?

826


How are actions and functions different in QTP?

871