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 descriptive.create () in QTP?

3 Answers  


How will you handle the situation when object is not captured during record?

12 Answers   AZTEC,


How to identify 2 versions of browsers based on regular expression

1 Answers   Cognizant,


What is the Maximum syncronization timeout in seconds in QTP 9.5

5 Answers   Polaris,


How to use the object spy in quicktest professional 8.0 version?

0 Answers  


How to maintain the old scripts in QTP?

2 Answers   Olive Tech, Wipro,


is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?

1 Answers  


how will u do database testing in qtp? how will u do the same with descriptive programming?

1 Answers   Ordain Solutions,


Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it

2 Answers  


Hi I am from delhi, Now I can surely say that no institution of QTP here in Delhi After reading you people I want to get cry, from last six month I am trying to learn QTP, I have knowledge too but dont know VB Script. Now it appears that without learning QTP no one can learn complete QTP, I want to get a formal learning in QTP. Can you suggest me the best institution. and please let me know the charges and span of the course too. thanks in advance to you alkaa.dugaal@gmail.com

1 Answers  


can we install qtp in windows vista

2 Answers  


Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?

0 Answers  


Categories