When I parameterize a script then for each iteration script
is executed from begining to end.
If I want to execute some middle steps multiple times using
Parameterization (avoiding begining and end steps), what is
the solution of this
(e.g. total steps are 1 2 3 4 5
and i want 2 3 4 only(not 1 nd 5)
Answers were Sorted based on User's Feedback
Answer / praveen
You can use For loop like..
for i=2 to 4
datatable.setcurrentrow(i)
Browser("").page("").webedit("").set datatable("column
name", dtGlobalsheet)
next
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikanth
If we want to run the script of rows 2,3,4, we need to
select the option "Run from row __ to __" in File->Settings-
>Run tab.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is Smart identification
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Will QTP gets installed on virtual PC.What is the maintenance number to be given
what is reusable action and how the same can be implemented (process)?
What type of automation frame work you are using?and why?
QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?
I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?
3 Answers BirlaSoft, Collabera,
How is test case write?
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
How you can replace string in qtp?
How to load the object repository at run time?