By default Action1 runs first in QTP. Is it possible to
start the run with Action2?

Answers were Sorted based on User's Feedback



By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / qa insider

To change the order in which Actions can be executed:
Goto the folder where scripts are saved --> Open Action0
folder --> open 'Script.mts' notepad --> change the order
in which Actions should be excuted.

Is This Answer Correct ?    15 Yes 3 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / nagesh

go to keyboard view.
drag and drop action2 to action1

Is This Answer Correct ?    12 Yes 2 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / deepa

Yes it is possible. Place the cursor at the start of your
Action2 and right click, select Run from Step.

Is This Answer Correct ?    5 Yes 3 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / yugandhar

To change the actions order or deactivate the particulat
Actions follow the below mentioned steps

Goto the Tests folder -->Action0
--> open 'Script.mts' notepad --> change the order
in which Actions should be excuted or for deactivation
comment the particular action call statement.

for more details mail me : yugandhar_bandari@yahoo.com

Is This Answer Correct ?    3 Yes 1 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / vishal

I dont think the execution begins from action1 it begins
from action zero.

Is This Answer Correct ?    5 Yes 4 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / vardhan

In The keyboard view.
drag and drop action2 to action1

Is This Answer Correct ?    1 Yes 0 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / vasu j (working in tcs, kochin

Yes u can run from Action2. Open the Action2 and Start
execution with RUN CURRENT ACTION in Automation menu bar.or
place the cursor on the Action2 and start execute with RUN
FROM STEP in Automation menu bar

Is This Answer Correct ?    0 Yes 1 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / kl

Yes.
By using keyword driven testing.
By commenting the Action1.

Pati
Ganesh Maharajki Jai..

Is This Answer Correct ?    0 Yes 5 No

By default Action1 runs first in QTP. Is it possible to start the run with Action2?..

Answer / srinivas

No, it is not possibale to run the Action2, always QTP runs
first from action 1 only.

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More QTP Interview Questions

How we can test a Frame in a web page?

1 Answers   eMids,


why do we go for Test Automation?

2 Answers  


Can I change properties of a test object?

0 Answers  


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

3 Answers  


If QTP not recognizing using repository while executing, how can we go forward

3 Answers  






Write a QTP script to print all the link names displayed in a web page

4 Answers   TCS, Virtusa,


What is QTP scenario.

0 Answers   Persistent,


your coming from electrical backgroung..but y ur coming to software side?

0 Answers   Accenture,


VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...

1 Answers  


Wat is the command used to add an object(properties) to an object repository?

2 Answers   Virtusa,


Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,


Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  


Categories