How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?

Answers were Sorted based on User's Feedback



How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / raheem

goto 50th step right click on it and select RUN FROM STEP and goto 100th line where put BREAKPOINT otherwise rightclick on 100th step and selects RUN TO STEP

Is This Answer Correct ?    4 Yes 0 No

How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / shanthi

Use Breakpoint

Is This Answer Correct ?    5 Yes 2 No

How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / kishan

Use Ctrl+F5

Is This Answer Correct ?    1 Yes 0 No

How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / deepu

Comment the unwanted script and run

Is This Answer Correct ?    2 Yes 1 No

How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / mukund

go to 50th Line.

Right Click and Use the option "Debug from Step"
and go till 100th Line.

Is This Answer Correct ?    1 Yes 0 No

How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?..

Answer / nagesh571

Put break point at 101th line.put cursor on 50th line and press ctrl+F5.then it will execute from 50-100 line

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output INDIA ,using simple string how will u do? can any one tell really need full..

4 Answers   Mind Tree, Tech Mahindra,


can i compare two databases using QTP ?

1 Answers  


we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?

6 Answers   Cognizant, Covansys,


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1 Answers  


suppose there r 10 action in a test i want to execute action 5 to 10 how would i do that

2 Answers  


1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.

2 Answers  


what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,


Why divide a test into three action calls?

1 Answers  


Dis advantages of XML checkpoint ?

1 Answers   Sapient,


Hi, every one aim new to automation testing(QTP),aim looking for software versions any. If any one can HELP me that will be great. Thank u.(9620427211,Bangalore)

0 Answers   ME,


How to use Regular Expressions in QTP

1 Answers  


How do you change Logical Name of the object in test script?

1 Answers   TCS,


Categories