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
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 |
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 |
Which constant is used for print and display functions and works as same as pressing enter key?
how to automatically update the sql server2005 database records when insert in vb6?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What are the disadvantages of vbscript?
In what way program "hello world" you can write in vbscript?
Write a code to print numbers from 5 to 0?
write a vb script create 5 folders test1 test2 test3 test4 test5
Mention what is the main difference between function and sub-procedure?
How to delete a cookie using vbscript?
Both Static and dynamic arrays are handled by VB script. Is it true?
How to assign a date value to a variable?
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....