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

Answers were Sorted based on User's Feedback



i created script for login in QTP,i parametirized that using global sheet,problem i am facing is f..

Answer / sadashiv (wipro)

hello we should change the settings for that

file-> settings->Run->run the row from 1 to 10 then we can
pass the all the parameter from the datatable.

Is This Answer Correct ?    0 Yes 1 No

i created script for login in QTP,i parametirized that using global sheet,problem i am facing is f..

Answer / 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

More VB Script Interview Questions

Which constant is used for print and display functions and works as same as pressing enter key?

0 Answers  


how to automatically update the sql server2005 database records when insert in vb6?

0 Answers  


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

0 Answers  


What are the disadvantages of vbscript?

0 Answers  


In what way program "hello world" you can write in vbscript?

0 Answers  






Write a code to print numbers from 5 to 0?

0 Answers  


write a vb script create 5 folders test1 test2 test3 test4 test5

3 Answers  


Mention what is the main difference between function and sub-procedure?

0 Answers  


How to delete a cookie using vbscript?

0 Answers  


Both Static and dynamic arrays are handled by VB script. Is it true?

0 Answers  


How to assign a date value to a variable?

0 Answers  


Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 Answers  


Categories