I have two actions in my QTP test and two iterations in my
DataSheet. I want to execute the Action 1 for the two
iterations only after which i want to exceute the next
Action2. How is this possible?

Answers were Sorted based on User's Feedback



I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / tamilselvi, tcs

Hi,
It is very simple. Keep your Action1 data in Action1 data
sheet(not in Global data sheet).
go to keyword view,select action1,goto edit->action->call
properties->run on all rows.

When you execute the test with the above settings, Action1
will be executed twice after which action2 will be executed.

Execution order can be tracked in Action0 which you can
find by openning the saved qtp test in a normal way without
using QTP.

Is This Answer Correct ?    5 Yes 1 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / v.dileepkumar008

go to keyword view,select action1,goto edit->action->call
properties->run on all rows.
select action2->select run one iteration only.

Is This Answer Correct ?    1 Yes 0 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / arul antony prakash

First u execute the Action1 and then call the Action2 with
RunAction copmmand which will generate once you create the
Action2.

Is This Answer Correct ?    2 Yes 4 No

I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action..

Answer / baskar palani

from this question?the two different action was created
already with data are parameterised for two iteration.

In this case run the first action separaetly and insert
call to exsisting or call to copy of action at the end of
action 1 script.now action 1 will run for two iteration
after completeion of action 1 action 2 will run for 2
iteration. 2

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More QTP Interview Questions

Why QTP is termed as a Record and Playback tool?

1 Answers  


Explain about the Test Fusion Report of QTP?

1 Answers  


A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key

3 Answers   Virtusa,


Hi This is tanya actually im facing problem in Qtp actully some time QTP doesnot recoznise the recorded object due to which script is going to fail.so can you tell me how we can handle this situation and i have another concerened issue is that at the time of run New errors comes every time so how we can handle this sitauation how we can add Recovery scenarios to the script.some time application runs successfully and some time it produces new error thats why i am facing lot of problem please give me the sugeestion as soon as possible.

2 Answers  


Diff B/w Webserver and Client Server

2 Answers  






1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment

1 Answers   TCS,


How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

0 Answers  


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

0 Answers  


Explain Different types of Checkpoints in Quick Test Professional?

2 Answers   Crea,


Explain about Table and DB Checkpoints?

1 Answers   Crea,


How you perform smoke and sanity testing using qtp?

1 Answers   Tech Mahindra,


How does Parameterization and Data-Driving relate to each other in QTP?

2 Answers  


Categories