In QTP whether is it possible to call a function from one
action to another action?



In QTP whether is it possible to call a function from one action to another action? ..

Answer / sandeep

Do more simple thing.

Store any function in any .vbs file.

Either link that .vbs file as a Resouce to QTP.

Or

Dynamically link .vbs file with QTP usign

ExecuteFile <file path >

Once either of the step is done then you can call any
function stored in .vbs file

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

What are the advantages of qtp?

0 Answers  


how do u handle an object without name using QTP 9.2?

0 Answers   CTS,


Explain the check points in quicktest professional?

0 Answers  


What is the difference between link and hyperlink?

1 Answers  


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

0 Answers  






What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers   Covansys, Systel,


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

0 Answers  


Why we load add-ins in qtp?

0 Answers  


can any one tell me the script to click on a button in the wintoolbar.

1 Answers  


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

0 Answers  


I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..

3 Answers  


Categories