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

what is the long form of QTP ?

2 Answers  


how to pass parameters from one action to another using output parameters I am not calling action 2 from action 1, they are being called individually I need syntax please .. Requirement: Action 1 customer = Browser(" ").Page(" ").Link(" ").GetROProperty("value") I want to use the value stored in customer in Action 2 I do not want to use any of these actions as re-usable actions

2 Answers  


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

1 Answers  


VB - Script Training in MUMBAI.

1 Answers  


Tell about descriptive programing in qtp8.2?

4 Answers   GE,






Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

0 Answers   Fiserv,


Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


How to give Table check points?

4 Answers   ssinformatics,


need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?

2 Answers  


What is the difference between client server application and web based application?

1 Answers   IBM,


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

0 Answers   ABC, scintel,


Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya

3 Answers  


Categories