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
How to declare an array in vbscript?
How can you destroy an object in vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
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 ?
What is the scope of a constant declared using public?
How to replace junk code recorded by QTP with a mall function.
What are class variables?
How many types of operators are available in the vbscript language?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
Explain about scrrun.dll in vbscript?
What are the 2 ways in which a variable can be declared in the vbscript language?
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
What is the difference between do until loop and do while loop?
Mention what is the use of option explicit in vbscript?
How do you declare a variable in vbscript?