i created script for login in QTP,i parametirized that
using global sheet,problem i am facing is first i want to
login with first values provided in excelsheet and want to
perform some operation,second time if call same action it
should login with second values in excelsheet

Answer Posted / aswinikumar.av

I am supposed to set the value in QTP under File-->
Settings to run on all rows. In your script, take the count
of all the rows in the Excel Sheet and then put in a For
loop and run your action. This is to move the pointer in
Excel Sheet to the next row in the Datasheet to pick the
newer data for execution.

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to declare an array in vbscript?

671


How can you destroy an object in vbscript?

642


Which operator is used to concatenate the 2 values in the vbscript language?

562


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1554


What is the scope of a constant declared using public?

568






How to replace junk code recorded by QTP with a mall function.

1649


What are class variables?

622


How many types of operators are available in the vbscript language?

541


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

610


Explain about scrrun.dll in vbscript?

658


What are the 2 ways in which a variable can be declared in the vbscript language?

568


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

1796


What is the difference between do until loop and do while loop?

547


Mention what is the use of option explicit in vbscript?

551


How do you declare a variable in vbscript?

631