Explain about reusable actions?

Answers were Sorted based on User's Feedback



Explain about reusable actions?..

Answer / sreeprasad

An action that can be called multiple times by the test in

which it was created.(local test) as well as by other

tests.

Is This Answer Correct ?    2 Yes 0 No

Explain about reusable actions?..

Answer / sahadeva

reusable actions are two types
call to existing:using this we can get resource code, object
repository,data table contents but these are read only we
cant edit
call to copy:using this we can get resource code, object
repository,data table contents but we can edit

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Can you give me the code to calculate the total number of Links using the child object in the web page..? is there any other way to calculate number of links with out using the Child objects.??

2 Answers   DST Global Solutions,


I have one question as HP QTP is concern, Please send your answers..... Can we do testing of any application without using any of the framework which are we used in QTP tool. If yes then how it can be possible in the HP QTP tool. -- Regards

5 Answers   ABC,


Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman

1 Answers  


How to Test the mainframe application?(tell me few basic things)

3 Answers  


Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)

1 Answers  






Define Canvas view of UFT?

0 Answers  


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

0 Answers  


In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?

2 Answers  


Where the text version of script file located in file system?

1 Answers  


Which functionalities of QTP used in banking project? pls any say answer?

0 Answers  


Which object model ur used in ur project

2 Answers   Cap Gemini,


How to execute a WinRunner Script in QTP?

1 Answers   Crea,


Categories