Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


how can i call reusable action in a function
could any one explain me?

Answers were Sorted based on User's Feedback



how can i call reusable action in a function could any one explain me? ..

Answer / nanda

by using if then else statements...

for example...

public function cal_action(strdata)

if strdata = "" then

runAction "Action1[test1]",OneIteration

else

RunAction "Action1[test2]",OneIteration

else if

Close function

Like this....we can call

If any queries..

nanda.dreddy@gmail.com

Is This Answer Correct ?    2 Yes 1 No

how can i call reusable action in a function could any one explain me? ..

Answer / mohammad

insert ->call to->existing action

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

What is OUTPUT VALUE ? PLZ Explain With Example?

5 Answers  


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

0 Answers  


Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?

3 Answers  


In qtp, how you can remove the spaces from string?

0 Answers  


Hi, I am learning QTP. can someone please tell me a site from where i can learn QTP scripting Thanks in advance

0 Answers  






What are the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


How to analyzing test results using quicktest professional?

0 Answers  


We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)

3 Answers  


CAN ANY ONE PLEASE EXPLAIN DIFFERENT TYPE OF FRAMEWORKS USED IN QTP?EXPLAIN EACH OF THEM?..POST TO VANILKUMAR_1981@YAHOO.CO.IN

2 Answers  


what is meant by automation tool?

1 Answers  


I want some banking domain projects where can i get this projects ( anybody can help me plz)

3 Answers  


In how many ways we can add check points to an application using QTP.

2 Answers   Infogain,






Categories