Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Suppose i have a script which is having 100 lines.I want to
execute that script starting from line no 75.means first
qtp should read the script from line no 75 how can u do it.

Answers were Sorted based on User's Feedback



Suppose i have a script which is having 100 lines.I want to execute that script starting from line..

Answer / raghavan

hi,

click the mouse on 75th line and go to tools->Run from
step->click the link ....

the qtp will run from 75th line

Is This Answer Correct ?    12 Yes 2 No

Suppose i have a script which is having 100 lines.I want to execute that script starting from line..

Answer / guru

Hi guys,
We have another option,

just click the mouse on 75 th line and then click Ctrl+F5.
Then it will run from the current step.


Thanks,
Guru
Kadapa.

Is This Answer Correct ?    8 Yes 0 No

Suppose i have a script which is having 100 lines.I want to execute that script starting from line..

Answer / uday kumar_anem

Raghavan, you are correct.
And another way of doing this is:
once you click at line 75, right click on your mouse and
choose Run from Here option.

It will execute from line 75.

Is This Answer Correct ?    8 Yes 1 No

Suppose i have a script which is having 100 lines.I want to execute that script starting from line..

Answer / abhishek

hi,

just right click on the 75th line and then go to tools>run
from step and right click on it .

this option will run the script from 75th line to till 100
line.

Is This Answer Correct ?    2 Yes 0 No

Suppose i have a script which is having 100 lines.I want to execute that script starting from line..

Answer / patil

If it is a code in qtp, I think, make the first 74 lines as
comment.
It is a Key Driven, put the Keyword before the 75th line
and run.


Patil

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More QTP Interview Questions

what is the Command used to start the QTp from Run.

7 Answers  


what is command for executing files?

0 Answers   VSoft,


QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!

1 Answers  


Which object repository we use in real time and can we merge 2 object repostiory and how?

6 Answers   HCL, Satyam,


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

0 Answers  


In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..

1 Answers   Wipro,


how to get font size of a "WebEdit"

3 Answers   L&T,


How to retrieve the property of an object?

1 Answers  


What is the present version of the VB Script we are using

1 Answers  


What are some test assets and related extensions of qtp?

0 Answers  


Have you faced any problems with object repository?

0 Answers  


How you can write contexts to text file in qtp?

0 Answers  


Categories