How we can call the scripit from another scripit in
QTP?,Not a call Action

Answer Posted / jdev

I am executing the below statement from a new test, say test2.
RunAction "Action1[test1]",oneIteration

This was failing. Is it required to mention the complete
path [absolute path]? Suppose if I have 2 tests with the
same name located in two different locations. Ho does
RunAction identify whicj test to pick.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain hybrid framework with advantages and disadvantages?

548


How many scripts did you have?

1708


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1870


Explain in brief about the quicktest professional (qtp) automation object model?

578


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1497






What are the types of object repository in qtp?

575


Can I change properties of a test object?

641


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

933


What are the methods used in UFT to handle exceptions or run-time errors?

658


Hi ,Can any one pleas explain how to test splash objects using QTP?

1915


How will you compare keyword and expert view?

545


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

1489


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2808


What is difference between design time and run time data table?

592


what is run action?

1441